mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
bossa makes use of variable-length arrays in C++ code, which now trigger -Wvla-cxx-extension warnings at -Wall under Xcode 26 clang (https://github.com/llvm/llvm-project/commit/7339c0f782d5c70e0928f8991b0c05338a90c84c). Remove -Werror to prevent these variable-length arrays from breaking the bossa build with this newer compiler.
23 lines
860 B
Plaintext
23 lines
860 B
Plaintext
--- Makefile.orig 2020-07-20 20:23:20.000000000 -0400
|
|
+++ Makefile 2020-07-20 20:23:56.000000000 -0400
|
|
@@ -99,8 +99,8 @@
|
|
#
|
|
ifeq ($(OS),Darwin)
|
|
COMMON_SRCS+=PosixSerialPort.cpp OSXPortFactory.cpp
|
|
-COMMON_CXXFLAGS=-arch x86_64 -mmacosx-version-min=10.9
|
|
-COMMON_LDFLAGS=-arch x86_64 -mmacosx-version-min=10.9
|
|
+COMMON_CXXFLAGS=
|
|
+COMMON_LDFLAGS=
|
|
APP=BOSSA.app
|
|
DMG=bossa-$(VERSION).dmg
|
|
VOLUME=BOSSA
|
|
@@ -194,7 +194,7 @@
|
|
#
|
|
# CXX Flags
|
|
#
|
|
-COMMON_CXXFLAGS+=-Wall -Werror -MT $@ -MD -MP -MF $(@:%.o=%.d) -DVERSION=\"$(VERSION)\" -g -O2 $(CXXFLAGS)
|
|
+COMMON_CXXFLAGS+=-Wall -MT $@ -MD -MP -MF $(@:%.o=%.d) -DVERSION=\"$(VERSION)\" -g -O2 $(CXXFLAGS)
|
|
WX_CXXFLAGS:=$(shell wx-config --cxxflags --version=$(WXVERSION)) -DWX_PRECOMP -Wno-ctor-dtor-privacy -O2 -fno-strict-aliasing
|
|
BOSSA_CXXFLAGS=$(COMMON_CXXFLAGS) $(WX_CXXFLAGS)
|
|
BOSSAC_CXXFLAGS=$(COMMON_CXXFLAGS)
|