diff options
author | Michel Zou | 2018-04-20 09:48:42 +0200 |
---|---|---|
committer | Michel Zou | 2018-04-20 09:48:42 +0200 |
commit | deba361a501034a2bb9a44a372e4b7478c277e41 (patch) | |
tree | f2c9e8eb5eb576cf28f66491d586ea287736435e | |
parent | c76306495436052b72e527aa1eea86638aa4ec9e (diff) | |
download | aur-deba361a501034a2bb9a44a372e4b7478c277e41.tar.gz |
export CC, CXX
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 2 | ||||
-rw-r--r-- | mingw-configure.sh | 2 |
3 files changed, 6 insertions, 2 deletions
@@ -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 @@ -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" |