qt6-qtbase/qtbase-qmake-lflags.patch

13 lines
491 B
Diff
Raw Normal View History

2021-01-22 08:45:28 +00:00
diff --git a/qmake/Makefile.unix b/qmake/Makefile.unix
index ea792a7c..5401a5fe 100644
--- a/qmake/Makefile.unix
+++ b/qmake/Makefile.unix
@@ -183,6 +183,7 @@ CPPFLAGS = -g $(EXTRA_CPPFLAGS) \
CXXFLAGS = $(EXTRA_CXXFLAGS) $(CONFIG_CXXFLAGS) $(CPPFLAGS)
CFLAGS = $(CPPFLAGS) $(CONFIG_CFLAGS)
LFLAGS = $(EXTRA_LFLAGS) $(CONFIG_LFLAGS)
+LFLAGS = $(EXTRA_LFLAGS) $(CONFIG_LFLAGS) $(QMAKE_LFLAGS_RELEASE)
first all: $(BUILD_PATH)/bin/qmake$(EXEEXT)
qmake: $(BUILD_PATH)/bin/qmake$(EXEEXT)