diff options
author | Renato Botelho <garga@FreeBSD.org> | 2006-03-30 18:20:39 +0000 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2006-03-30 18:20:39 +0000 |
commit | b3eed35dfd0d13117210be455fda4a1aa3b97d28 (patch) | |
tree | 193a2fab9d9b2b6e38f26f0a6fdc35e41a240c03 /audio/hawkvoice/Makefile | |
parent | 94ff89415b7b464e671f87c029d3b4824a20fd6d (diff) | |
download | ports-b3eed35dfd0d13117210be455fda4a1aa3b97d28.tar.gz ports-b3eed35dfd0d13117210be455fda4a1aa3b97d28.zip |
Fix build on amd64 and ia64 adding -fPIC and -DPIC
Reported by: krismail
Notes
Notes:
svn path=/head/; revision=158426
Diffstat (limited to 'audio/hawkvoice/Makefile')
-rw-r--r-- | audio/hawkvoice/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/hawkvoice/Makefile b/audio/hawkvoice/Makefile index 98f5ac4bf9d3..bc7323e68666 100644 --- a/audio/hawkvoice/Makefile +++ b/audio/hawkvoice/Makefile @@ -32,6 +32,10 @@ OPTIONS= OPTIMIZATION "Enable optimization" off .include <bsd.port.pre.mk> +.if ${ARCH} == "amd64" || ${ARCH} == "ia64" +CFLAGS+= -fPIC -DPIC +.endif + .if defined(WITH_OPTIMIZATION) CFLAGS+= -funroll-all-loops -ffast-math -fomit-frame-pointer -D_GNU_SOURCE -D_REENTRANT .endif |