summaryrefslogtreecommitdiff
path: root/devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf
diff options
context:
space:
mode:
Diffstat (limited to 'devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf')
-rw-r--r--devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf b/devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf
new file mode 100644
index 000000000000..541932731d95
--- /dev/null
+++ b/devel/qt4-qmake/files/patch-mkspecs__common__clang-unix.conf
@@ -0,0 +1,18 @@
+--- ../mkspecs/common/clang-unix.conf.orig 2013-12-05 22:57:53.135156000 +0000
++++ ../mkspecs/common/clang-unix.conf 2013-12-05 23:09:36.960149415 +0000
+@@ -0,0 +1,15 @@
++#
++# Qmake configuration for the Clang compiler on *nix-systems
++#
++# Before making changes to this file, please read the comment in
++# gcc-base.conf, to make sure the change goes in the right place.
++#
++# To verify that your change has the desired effect on the final configuration
++# you can use the manual test in tests/manual/mkspecs.
++#
++
++include(gcc-base-unix.conf)
++include(clang.conf)
++
++QMAKE_LFLAGS_RELEASE += -Wl,-O1
++QMAKE_LFLAGS_NOUNDEF += -Wl,--no-undefined