SCons: Fix wrong flags usage after recent stdc89 changes
CCFLAGS are used for both C and C++ compilers and one is better not to pass C-related flags to C++ compiler. C-compiler flags are to be passed via CFLAGS variable.
This commit is contained in:
parent
f4d7f5216f
commit
029bd44bbd
@ -230,7 +230,8 @@ WITH_BF_FREESTYLE = True
|
|||||||
CC = 'gcc'
|
CC = 'gcc'
|
||||||
CXX = 'g++'
|
CXX = 'g++'
|
||||||
|
|
||||||
CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-std=gnu89', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
|
CCFLAGS = ['-pipe','-fPIC','-funsigned-char','-fno-strict-aliasing', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64','-D_LARGEFILE64_SOURCE']
|
||||||
|
CFLAGS = ['-std=gnu89']
|
||||||
CXXFLAGS = []
|
CXXFLAGS = []
|
||||||
|
|
||||||
CPPFLAGS = []
|
CPPFLAGS = []
|
||||||
|
Loading…
Reference in New Issue
Block a user