From 8a807a7cf72382b2a8df53cce8012c04e287ec76 Mon Sep 17 00:00:00 2001 From: Adam Honse Date: Mon, 23 May 2022 11:44:10 -0500 Subject: [PATCH] Remove -pipe flag from gcc options as it conflicts with -save-temps and causes warnings --- OpenRGB.pro | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenRGB.pro b/OpenRGB.pro index f9f88b9c..3be15351 100644 --- a/OpenRGB.pro +++ b/OpenRGB.pro @@ -1427,7 +1427,7 @@ contains(QMAKE_PLATFORM, linux) { udev_rules.CONFIG = no_check_exist udev_rules.target = 60-openrgb.rules udev_rules.path = $$PREFIX/lib/udev/rules.d/ - + exists($$udev_rules.target) { message($$udev_rules.target " - UDEV rules file exists. Removing from build") udev_rules.files = $$udev_rules.target @@ -1438,6 +1438,7 @@ contains(QMAKE_PLATFORM, linux) { # files so as to automatically process the UDEV rules and the Supported Devices # #-------------------------------------------------------------------------------------------# QMAKE_CXXFLAGS+=-save-temps + QMAKE_CXXFLAGS-=-pipe udev_rules.extra = $$PWD/scripts/build-udev-rules.sh $$PWD $$GIT_COMMIT_ID udev_rules.files = $$OUT_PWD/60-openrgb.rules }