[Plugins] Remove the fPIC flag, is not needed.

This commit is contained in:
Maschell 2018-02-11 18:16:32 +01:00
parent 3cc18c2557
commit d12bb68c16
2 changed files with 2 additions and 4 deletions

View File

@ -45,7 +45,6 @@ MAP ?= $(TARGET:.mod=.map)
# options for code generation
#---------------------------------------------------------------------------------
# -fPIC: create position independed code
# -Os: optimise size
# -Wall: generate lots of warnings
# -DGEKKO_U: define the symbol GEKKO (used in some headers)
@ -60,7 +59,7 @@ MAP ?= $(TARGET:.mod=.map)
# -memb: enable embedded application specific compilation
# -ffunction-sections: split up functions so linker can garbage collect
# -fdata-sections: split up data so linker can garbage collect
COMMON_CFLAGS += -fPIC -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
# -x c: compile as c code

View File

@ -45,7 +45,6 @@ MAP ?= $(TARGET:.mod=.map)
# options for code generation
#---------------------------------------------------------------------------------
# -fPIC: create position independed code
# -Os: optimise size
# -Wall: generate lots of warnings
# -DGEKKO_U: define the symbol GEKKO (used in some headers)
@ -60,7 +59,7 @@ MAP ?= $(TARGET:.mod=.map)
# -memb: enable embedded application specific compilation
# -ffunction-sections: split up functions so linker can garbage collect
# -fdata-sections: split up data so linker can garbage collect
COMMON_CFLAGS += -fPIC -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
COMMON_CFLAGS += -Os -Wall -DGEKKO_U -D__wiiu__ -mrvl -mcpu=750 -meabi -mhard-float -fshort-wchar -fno-common -msdata=none -memb -ffunction-sections -fdata-sections
# -x c: compile as c code