configure: use -Wno-error for now with tcc.

This commit is contained in:
Juan RP 2019-06-26 15:13:01 +02:00
parent ceab3c66b7
commit ab2445e722
No known key found for this signature in database
GPG Key ID: AF19F6CB482F9368

4
configure vendored
View File

@ -190,6 +190,10 @@ fi
echo "CC = $CC" >>$CONFIG_MK
echo "CFLAGS = -O2" >>$CONFIG_MK
if [ "$CC" = "tcc" ]; then
echo "CFLAGS += -Wno-error" >>$CONFIG_MK
fi
echo "LDFLAGS = -L\$(TOPDIR)/lib" >>$CONFIG_MK
echo "CPPFLAGS = -I. -I\$(TOPDIR) -I\$(TOPDIR)/include" >>$CONFIG_MK
echo "CPPFLAGS += -DXBPS_SYSCONF_PATH=\\\"${ETCDIR}\\\"" >>$CONFIG_MK