freebsd-ports/audio/murmur/files/patch-compiler.pri
John Marino 368fb49b87 audio/murmur: Remove incomplete command line option
Modern GCC doesn't accept empty Wl arguments. Solves:
c++: error: unrecognized command line option '-Wl'

I confirmed the patch modification doesn't break the build on FreeBSD 10.3.

Approved by:	just-fix-it
2016-12-17 17:39:31 +00:00

11 lines
320 B
Text

--- compiler.pri.orig 2015-07-09 13:23:46 UTC
+++ compiler.pri
@@ -111,7 +111,7 @@ unix:!macx {
CONFIG(debug, debug|release) {
QMAKE_CFLAGS *= -fstack-protector -fPIE -pie
QMAKE_CXXFLAGS *= -fstack-protector -fPIE -pie
- QMAKE_LFLAGS = -Wl,--no-add-needed
+ QMAKE_LFLAGS =
}
DEFINES *= _FORTIFY_SOURCE=2