summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/build/debug/100-dmalloc.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/build/debug/100-dmalloc.sh b/scripts/build/debug/100-dmalloc.sh
index fcb6f9d..371c5cd 100644
--- a/scripts/build/debug/100-dmalloc.sh
+++ b/scripts/build/debug/100-dmalloc.sh
@@ -37,6 +37,7 @@ do_debug_dmalloc_build() {
LD="${CT_TARGET}-ld" \
AR="${CT_TARGET}-ar" \
+ CFLAGS=-fPIC \
CT_DoExecLog ALL \
"${CT_SRC_DIR}/dmalloc-${CT_DMALLOC_VERSION}/configure" \
--prefix=/usr \