summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-04 14:35:03 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2021-06-04 14:35:03 +0800
commitc5c8117e1147bff6623c9a0ed00e3d5b91b0fe74 (patch)
tree8539ea19fd904157e3cea3178f91420be2d4b276
parent4d76449e7f45d125b8427e63e06d733ee73a84c4 (diff)
More configure wrappers
-rwxr-xr-xarm-apple-darwin11-configure6
-rwxr-xr-xi686-w64-mingw32-configure6
-rwxr-xr-xx86_64-pc-linux-gnu-configure4
3 files changed, 16 insertions, 0 deletions
diff --git a/arm-apple-darwin11-configure b/arm-apple-darwin11-configure
new file mode 100755
index 0000000..e08a058
--- /dev/null
+++ b/arm-apple-darwin11-configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+export TARGET=arm-apple-darwin11
+export CC=ios-clang
+export PREFIX=/opt/iPhoneOS8.1.sdk/usr
+export CFLAGS="$CFLAGS -g0 -O2"
+./configure --host=$TARGET --prefix=$PREFIX --disable-shared
diff --git a/i686-w64-mingw32-configure b/i686-w64-mingw32-configure
new file mode 100755
index 0000000..11c3b58
--- /dev/null
+++ b/i686-w64-mingw32-configure
@@ -0,0 +1,6 @@
+#!/bin/sh
+export TARGET=i686-w64-mingw32
+export CC=$TARGET-gcc
+export CPPFLAGS="$CPPFLAGS -DDEBUG"
+export CFLAGS="$CFLAGS -g"
+./configure --host=$TARGET --prefix=/usr/$TARGET/usr
diff --git a/x86_64-pc-linux-gnu-configure b/x86_64-pc-linux-gnu-configure
new file mode 100755
index 0000000..8499b0b
--- /dev/null
+++ b/x86_64-pc-linux-gnu-configure
@@ -0,0 +1,4 @@
+#!/bin/sh
+export CPPFLAGS="$CPPFLAGS -DDEBUG"
+export CFLAGS="$CFLAGS -g"
+./configure --libdir=/usr/local/lib64 --disable-static