summaryrefslogtreecommitdiff
path: root/i686-w64-mingw32-configure
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-08 13:58:59 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-08 13:58:59 +0800
commit7aca5412dbc23e8cfcf8718c434092a1c81418e3 (patch)
treea241e608ad0b8fb6b13bed9ae483ef6311ff471d /i686-w64-mingw32-configure
parent59ca8b37f9e7a32db67abf719be0977cbbae0c86 (diff)
Adjust mingw32 to run on FreeBSD
Diffstat (limited to 'i686-w64-mingw32-configure')
-rwxr-xr-xi686-w64-mingw32-configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/i686-w64-mingw32-configure b/i686-w64-mingw32-configure
index 39b2b15..f55a6a1 100755
--- a/i686-w64-mingw32-configure
+++ b/i686-w64-mingw32-configure
@@ -1,6 +1,6 @@
#!/bin/sh
-export TARGET=i686-w64-mingw32
+export TARGET=mingw32
export CC=$TARGET-gcc
export CPPFLAGS="$CPPFLAGS -DDEBUG"
-export CFLAGS="$CFLAGS -g"
-./configure --host=$TARGET --prefix=/usr/$TARGET/usr --disable-shared
+export CFLAGS="$CFLAGS -g -std=c99"
+./configure --host=i686-w64-$TARGET --prefix=/usr/local/$TARGET --disable-shared