aboutsummaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
Diffstat (limited to 'www')
-rw-r--r--www/mod_musicindex/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/www/mod_musicindex/Makefile b/www/mod_musicindex/Makefile
index 31b104b62264..f18d71cabcc8 100644
--- a/www/mod_musicindex/Makefile
+++ b/www/mod_musicindex/Makefile
@@ -37,6 +37,9 @@ MAKE_ENV+= APXS=${APXS} CPPFLAGS="${CPPFLAGS}" LDFLAGS="-L${LOCALBASE}/lib"
.if "${AP_VER}"=="2"
MAKE_ENV+= APACHE_VERSION=2 APRCONFIG=${LOCALBASE}/lib/apache2/apr-config
+.if "ARCH" = "amd64"
+CFLAGS+= -fPIC
+.endif
.endif
post-install: