From d12bb68c16802212ef21dbe21ff87606bb42f203 Mon Sep 17 00:00:00 2001 From: Maschell Date: Sun, 11 Feb 2018 18:16:32 +0100 Subject: [PATCH] [Plugins] Remove the fPIC flag, is not needed. --- example_plugin/Makefile | 3 +-- plugins/padcon/Makefile | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/example_plugin/Makefile b/example_plugin/Makefile index cb21465..7296bb4 100644 --- a/example_plugin/Makefile +++ b/example_plugin/Makefile @@ -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 diff --git a/plugins/padcon/Makefile b/plugins/padcon/Makefile index cb21465..7296bb4 100644 --- a/plugins/padcon/Makefile +++ b/plugins/padcon/Makefile @@ -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