diff options
author | Alexey Neyman <stilor@att.net> | 2017-04-07 16:57:17 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-07 16:57:17 -0700 |
commit | ee7662fa58a7f45ccd3e3520919ee70301ab7648 (patch) | |
tree | 9932090384db260eb6223b50e85ca5dc0a6a553f /scripts/build/libc | |
parent | 16e703a4e5bc9277ce642d5a7a451c7025d495ad (diff) | |
parent | 9a91220aa2730135601f601172b14e9c574154a3 (diff) | |
download | crosstool-ng-ee7662fa58a7f45ccd3e3520919ee70301ab7648.tar.gz crosstool-ng-ee7662fa58a7f45ccd3e3520919ee70301ab7648.tar.bz2 crosstool-ng-ee7662fa58a7f45ccd3e3520919ee70301ab7648.zip |
Merge pull request #678 from stilor/fix-secure-api
Fix MINGW_SECURE_API test
Diffstat (limited to 'scripts/build/libc')
-rw-r--r-- | scripts/build/libc/mingw.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/scripts/build/libc/mingw.sh b/scripts/build/libc/mingw.sh index 2f0dda53..1471785d 100644 --- a/scripts/build/libc/mingw.sh +++ b/scripts/build/libc/mingw.sh @@ -40,10 +40,9 @@ do_libc_start_files() { :) ;; esac - case "${CT_MINGW_SECURE_API}" in - :y) sdk_opts+=( "--enable-secure-api" );; - :) ;; - esac + if [ "${CT_MINGW_SECURE_API}" = "y" ]; then + sdk_opts+=( "--enable-secure-api" ) + fi CT_mkdir_pushd "${CT_BUILD_DIR}/build-mingw-w64-headers" |