freebsd-ports/devel/qmake5/files/patch-mkspecs__common__clang-unix.conf
Max Brazhnikov 4cd1e8830e KDE/FreeBSD team is happy to present Qt 5 in ports!
Alberto Villa (avilla@) has done all the hard work to create Qt 5 ports.
Trivial update from 5.2.0-beta1 to 5.2.1 by me.

Special thanks for Adriaan de Groot <groot@kde.org> for his assistance for
Qt-5.2.0 update.

Approved by:	portmgr (bapt) (for Mk/bsd.port.mk)
2014-03-03 16:50:32 +00:00

18 lines
646 B
Text

--- ./mkspecs/common/clang-unix.conf.orig 2013-12-05 17:44:20.215196720 +0000
+++ ./mkspecs/common/clang-unix.conf 2013-12-05 17:47:19.015202020 +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