summaryrefslogtreecommitdiffstats
path: root/audio-drivers/portaudio/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'audio-drivers/portaudio/BUILD')
-rwxr-xr-xaudio-drivers/portaudio/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio-drivers/portaudio/BUILD b/audio-drivers/portaudio/BUILD
index d9d77f10a4..05fb3adf75 100755
--- a/audio-drivers/portaudio/BUILD
+++ b/audio-drivers/portaudio/BUILD
@@ -1,4 +1,5 @@
sedit "s:/usr/local:${INSTALL_ROOT}/usr:" Makefile.linux &&
# dependent apps should be able to link without specifying -lpthread
sedit 's:gcc -shared -o:gcc -shared $(LIBS) -o:' Makefile.linux &&
+sedit 's:CFLAGS = :CFLAGS = -fPIC :' Makefile.linux &&
make -f Makefile.linux sharedlib