mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
Build with -D_GNU_SOURCE to enable gnu extensions in header files
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3702 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ff7f701a95
commit
73e1d0f195
@ -118,6 +118,9 @@ else
|
||||
PROFILE =
|
||||
endif
|
||||
|
||||
# Allow gnu extensions...
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
|
||||
# -Wno-unused-parameter
|
||||
CompileCommonOpts := $(PROFILE) -Wall -W -Wwrite-strings -Wno-unused -I$(LEVEL)/include
|
||||
|
||||
|
@ -118,6 +118,9 @@ else
|
||||
PROFILE =
|
||||
endif
|
||||
|
||||
# Allow gnu extensions...
|
||||
CPPFLAGS += -D_GNU_SOURCE
|
||||
|
||||
# -Wno-unused-parameter
|
||||
CompileCommonOpts := $(PROFILE) -Wall -W -Wwrite-strings -Wno-unused -I$(LEVEL)/include
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user