summaryrefslogtreecommitdiff
path: root/fontconfig
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig')
-rw-r--r--fontconfig/makefile.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/fontconfig/makefile.mk b/fontconfig/makefile.mk
index 55c561adc8a3..a866c4c85a43 100644
--- a/fontconfig/makefile.mk
+++ b/fontconfig/makefile.mk
@@ -43,6 +43,10 @@ PATCH_FILES=$(TARFILE_NAME).patch
CONFIGURE_ACTION=./configure
+.IF "$(debug)" != ""
+CONFIGURE_ACTION!:=CFLAGS=-g $(CONFIGURE_ACTION)
+.ENDIF
+
CONFIGURE_FLAGS=\
--disable-static \
--with-arch=arm \