From 2071c2a91b5f8647d95ffc95e524657bff8089d9 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Mon, 17 Aug 2015 20:09:47 +0200 Subject: Fix BeOS build Mainly C/C++ conflicts: * Designated initializer are not part of C++ * C++ already defines min() and max() * Force C99 and remove -O0 since we now use a decent compiler --- beos/Makefile.target | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'beos/Makefile.target') diff --git a/beos/Makefile.target b/beos/Makefile.target index 23d8ccb12..99035128c 100644 --- a/beos/Makefile.target +++ b/beos/Makefile.target @@ -16,8 +16,8 @@ LDFLAGS += -lexpat -lcurl COMMON_WARNFLAGS += -Wno-multichar # compiler flags -CFLAGS += -Dnsbeos -D_BSD_SOURCE -D_POSIX_C_SOURCE -Drestrict="" -g -O0 -CXXFLAGS += -Dnsbeos -D_BSD_SOURCE -D_POSIX_C_SOURCE -Drestrict="" -g -O0 +CFLAGS += -std=c99 -Dnsbeos -D_BSD_SOURCE -D_POSIX_C_SOURCE -Drestrict="" -g +CXXFLAGS += -Dnsbeos -D_BSD_SOURCE -D_POSIX_C_SOURCE -Drestrict="" -g BEOS_BERES := beres BEOS_RC := rc -- cgit v1.2.3