diff options
Diffstat (limited to 'audio/portaudio2/Makefile')
-rw-r--r-- | audio/portaudio2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/portaudio2/Makefile b/audio/portaudio2/Makefile index 3e0189f4e6b3..8467619ed81c 100644 --- a/audio/portaudio2/Makefile +++ b/audio/portaudio2/Makefile @@ -25,6 +25,10 @@ NO_FILTER_SHLIBS=yes PLIST_SUB+= SHLIB_VERSION=${SHLIB_VERSION} SHLIB_VERSION= 0 +.if ${MACHINE_ARCH:L} == amd64 +CFLAGS+= -fPIC +.endif + pre-everything:: .if !defined(WITH_PATESTS) @${ECHO_MSG} |