summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar waker <wakeroid@gmail.com>2011-02-22 22:20:34 +0100
committerGravatar waker <wakeroid@gmail.com>2011-02-22 22:20:34 +0100
commit1d1a3115ac6d3d2ab1cd900961b57d96ee8bfaa2 (patch)
tree000e1cc092a74bd7c85c2f6e88fc7eb917992587
parent61aba93922708d9d2bcb3d69d5b69c6e53f13d52 (diff)
ao plugin build fix
-rw-r--r--plugins/ao/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/ao/Makefile b/plugins/ao/Makefile
index 0714690c..9c4285b8 100644
--- a/plugins/ao/Makefile
+++ b/plugins/ao/Makefile
@@ -4,9 +4,9 @@ CC=gcc
ZLIB_LIBS=-lz
-CFLAGS+=-Wall -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I../.. -I./ -Ieng_ssf -Ieng_qsf -Ieng_dsf
+CFLAGS+=-Wall -fPIC -DPATH_MAX=1024 -DHAS_PSXCPU=1 -I../.. -I./ -Ieng_ssf -Ieng_qsf -Ieng_dsf
-LDFLAGS+=-module -shared -fPIC $(ZLIB_LIBS) -lm
+LDFLAGS+=-module -shared $(ZLIB_LIBS) -lm
SOURCES=plugin.c main.c corlett.c\
eng_dsf/eng_dsf.c eng_dsf/dc_hw.c eng_dsf/aica.c eng_dsf/aicadsp.c eng_dsf/arm7.c eng_dsf/arm7i.c\