mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 10:03:10 -04:00
cc1plus: error: unrecognized command line option "-std=c++11" Additionally, this port tries to use SSE, so it needs -DNO_WARN_X86_INTRINSICS -maltivec -mvsx on powerpc64 to use GCC's translation layer to AltiVec. Also respect CXXFLAGS to make it work. PR: 243658 Approved by: swills (maintainer) MFH: 2020q2 (fix build blanket)
15 lines
637 B
Text
15 lines
637 B
Text
Temporary, see:
|
|
|
|
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=231108
|
|
|
|
--- GNUmakefile.orig 2018-09-02 22:04:19 UTC
|
|
+++ GNUmakefile
|
|
@@ -5,7 +5,7 @@ ifndef OBS_LIB
|
|
OBS_LIB = /usr/lib
|
|
endif
|
|
|
|
-CXXFLAGS = -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) $(shell pkg-config --cflags Qt5WebKitWidgets)
|
|
+CXXFLAGS += -std=c++11 -Wall -g -fPIC -I$(OBS_INCLUDE) -I./src $(shell pkg-config --cflags Qt5Widgets) $(shell pkg-config --cflags Qt5WebKit) -I%%LOCALBASE%%/include/qt5/QtWebKitWidgets
|
|
CXX ?= c++
|
|
RM = /bin/rm -rf
|
|
LDFLAGS = -L$(OBS_LIB)
|