summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichel Zou2018-04-20 09:48:42 +0200
committerMichel Zou2018-04-20 09:48:42 +0200
commitdeba361a501034a2bb9a44a372e4b7478c277e41 (patch)
treef2c9e8eb5eb576cf28f66491d586ea287736435e
parentc76306495436052b72e527aa1eea86638aa4ec9e (diff)
downloadaur-deba361a501034a2bb9a44a372e4b7478c277e41.tar.gz
export CC, CXX
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD2
-rw-r--r--mingw-configure.sh2
3 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef37f0a3e26c..1c7513a56226 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,8 @@
+# Generated by mksrcinfo v8
+# Fri Apr 20 07:48:42 UTC 2018
pkgbase = mingw-w64-configure
pkgdesc = configure wrapper for MinGW (mingw-w64)
- pkgver = 0.1
+ pkgver = 0.1.1
pkgrel = 1
url = http://fedoraproject.org/wiki/MinGW
arch = any
diff --git a/PKGBUILD b/PKGBUILD
index 320a57fcb3f0..4e163ce8a898 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=mingw-w64-configure
-pkgver=0.1
+pkgver=0.1.1
pkgrel=1
arch=(any)
pkgdesc="configure wrapper for MinGW (mingw-w64)"
diff --git a/mingw-configure.sh b/mingw-configure.sh
index e3b6e6b9dff9..fabde2d41b9f 100644
--- a/mingw-configure.sh
+++ b/mingw-configure.sh
@@ -9,6 +9,8 @@ else
config_path=".."
fi
+export CC=/usr/bin/@TRIPLE@-cc
+export CXX=/usr/bin/@TRIPLE@-c++
mingw_c_flags="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4"
LDFLAGS=""
export CFLAGS="$mingw_c_flags $CFLAGS"