summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorluigoalma2019-02-10 15:34:11 +0000
committerluigoalma2019-02-10 15:34:11 +0000
commit13c3e7b4be91581189816ed3c70aa2e16a57cd1e (patch)
tree94afc119068218c593cc6490d2d921efe9beb1cc /PKGBUILD
parent8ca0661f400864b2deced7b564e64c365db5b094 (diff)
downloadaur-13c3e7b4be91581189816ed3c70aa2e16a57cd1e.tar.gz
Stdcall fixup
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da9c9ad3870b..8f7904d96d05 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,7 @@
pkgname=mingw-w64-vulkan-icd-loader
_pkgname=Vulkan-Loader
pkgver=1.1.99
-pkgrel=1
+pkgrel=2
pkgdesc="Vulkan Installable Client Driver (ICD) Loader (mingw-w64)"
arch=(any)
url="https://www.khronos.org/vulkan/"
@@ -42,7 +42,7 @@ prepare() {
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
- export LDFLAGS="-static-libgcc -static" # to staticly apply libssp and libwinpthread
+ export LDFLAGS="-static-libgcc -static -Wl,--enable-stdcall-fixup" # -static to staticly apply libssp and libwinpthread
export CFLAGS="-Wno-unused-function"
export CXXFLAGS=$CFLAGS
export CPPFLAGS=$CFLAGS