summaryrefslogtreecommitdiffstats
path: root/lib/libarchive/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libarchive/Makefile')
-rw-r--r--lib/libarchive/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libarchive/Makefile b/lib/libarchive/Makefile
index eb39219..971f34d 100644
--- a/lib/libarchive/Makefile
+++ b/lib/libarchive/Makefile
@@ -37,7 +37,7 @@ LDADD+= -lmd
.if ${MK_ICONV} != "no"
# TODO: This can be changed back to CFLAGS once iconv works correctly
# with statically linked binaries.
-SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=const
+SHARED_CFLAGS+= -DHAVE_ICONV=1 -DHAVE_ICONV_H=1 -DICONV_CONST=
.endif
.if ${MACHINE_ARCH:Marm*} != "" || ${MACHINE_ARCH:Mmips*} != "" || \
OpenPOWER on IntegriCloud