about summary refs log tree commit diff
path: root/configure
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2015-12-05 10:51:56 +0000
committerLaurent Bercot <ska-skaware@skarnet.org>2015-12-05 10:51:56 +0000
commit9e8d958a415f358fa2a2f2d9a8ed6c2ec7f9d32e (patch)
tree357a77daf91c8ea09ebad43050c5d98a573cae44 /configure
parentb8b32b81b482f35f7c36ae9dd266028af613c3dc (diff)
downloads6-9e8d958a415f358fa2a2f2d9a8ed6c2ec7f9d32e.tar.gz
s6-9e8d958a415f358fa2a2f2d9a8ed6c2ec7f9d32e.tar.xz
s6-9e8d958a415f358fa2a2f2d9a8ed6c2ec7f9d32e.zip
fix --enable-cross
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1fa12db..0b38b6a 100755
--- a/configure
+++ b/configure
@@ -122,7 +122,7 @@ tryldflag () {
 
 CC_AUTO=
 CFLAGS_AUTO="$CFLAGS"
-CPPFLAGS_AUTO="-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 $CPPFLAGS"
+CPPFLAGS_AUTO="-D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -O2 $CPPFLAGS -fsigned-char"
 LDFLAGS_AUTO="$LDFLAGS"
 LDFLAGS_SHARED=-shared
 LDFLAGS_NOSHARED=
@@ -180,7 +180,7 @@ for arg ; do
     --enable-slashpackage) sproot= ; slashpackage=true ;;
     --disable-slashpackage) sproot= ; slashpackage=false ;;
     --enable-cross=*) cross=${arg#*=} ;;
-    --enable-cross) cross= ;;
+    --enable-cross) ;;
     --disable-cross) cross= ;;
     --enable-*|--disable-*|--with-*|--without-*|--*dir=*|--build=*) ;;
     --host=*|--target=*) target=${arg#*=} ;;