diff options
Diffstat (limited to 'audio')
-rw-r--r-- | audio/portaudio/Makefile | 4 | ||||
-rw-r--r-- | audio/portaudio2/Makefile | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/audio/portaudio/Makefile b/audio/portaudio/Makefile index 3e0189f4e6b3..8467619ed81c 100644 --- a/audio/portaudio/Makefile +++ b/audio/portaudio/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} 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} |