diff options
author | notaz | 2012-02-22 01:30:51 +0200 |
---|---|---|
committer | notaz | 2012-02-27 00:27:41 +0200 |
commit | f7be0e2b7adc4f6c4057f44f789bd7405844701c (patch) | |
tree | aed2f7bcc8216b47f97301fc5fcc4f00b511cf93 /plugins/gpulib/Makefile | |
parent | bb88ec28db0535102b70a7c18ef095cb904e3c6c (diff) | |
download | pcsx_rearmed-f7be0e2b7adc4f6c4057f44f789bd7405844701c.tar.gz pcsx_rearmed-f7be0e2b7adc4f6c4057f44f789bd7405844701c.tar.bz2 pcsx_rearmed-f7be0e2b7adc4f6c4057f44f789bd7405844701c.zip |
gpu_unai: update CFLAGS
avoid -fPIC if not really needed, no need for a performance hit
Diffstat (limited to 'plugins/gpulib/Makefile')
-rw-r--r-- | plugins/gpulib/Makefile | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/gpulib/Makefile b/plugins/gpulib/Makefile index a244524..e65d81b 100644 --- a/plugins/gpulib/Makefile +++ b/plugins/gpulib/Makefile @@ -4,14 +4,17 @@ AR = $(CROSS_COMPILE)ar ARCH = $(shell $(CC) -v 2>&1 | grep -i 'target:' | awk '{print $$2}' | awk -F '-' '{print $$1}') -CFLAGS += -ggdb -Wall -fPIC -O2 +CFLAGS += -ggdb -Wall +ifndef DEBUG +CFLAGS += -O2 +endif OBJS += gpu.o ifeq "$(ARCH)" "arm" ARM_CORTEXA8 ?= 1 ifeq "$(ARM_CORTEXA8)" "1" -CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp +CFLAGS += -mcpu=cortex-a8 -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -fPIC ASFLAGS += -mcpu=cortex-a8 -mfpu=neon OBJS += cspace_neon.o else |