diff options
author | Adrien Destugues <pulkomandy@pulkomandy.tk> | 2015-08-17 20:09:47 +0200 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2015-10-12 21:08:25 +0100 |
commit | 2071c2a91b5f8647d95ffc95e524657bff8089d9 (patch) | |
tree | 2de759d980e060d28822e72420fd9920e7eb205e /beos/Makefile.target | |
parent | 46ff49baef23b4fff4eda0925793880b3d0eeaf5 (diff) | |
download | netsurf-2071c2a91b5f8647d95ffc95e524657bff8089d9.tar.gz netsurf-2071c2a91b5f8647d95ffc95e524657bff8089d9.tar.bz2 |
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
Diffstat (limited to 'beos/Makefile.target')
-rw-r--r-- | beos/Makefile.target | 4 |
1 files changed, 2 insertions, 2 deletions
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 |