diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2015-06-10 22:03:54 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2015-06-10 22:03:56 -0500 |
commit | dab1ea74bd5b6910f7717b50b1f49209274c8e44 (patch) | |
tree | 4723d72b00c2f6805c1adc6fd6e65d3f6bea0884 /macros.cygwin64 | |
parent | b2f0da6d9048b91be54e487d080db051c2f15175 (diff) | |
download | cygwin-filesystem-dab1ea74bd5b6910f7717b50b1f49209274c8e44.tar.gz cygwin-filesystem-dab1ea74bd5b6910f7717b50b1f49209274c8e44.tar.xz cygwin-filesystem-dab1ea74bd5b6910f7717b50b1f49209274c8e44.zip |
Allow empty CYGWIN{32,64}_{C,CPP,CXX}FLAGS environment variables
Based on mingw-filesystem commit 64394b95aa6c2e5104d808a35729850b82cc2e1b.
Diffstat (limited to 'macros.cygwin64')
-rw-r--r-- | macros.cygwin64 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros.cygwin64 b/macros.cygwin64 index 4b51f8e..f10534d 100644 --- a/macros.cygwin64 +++ b/macros.cygwin64 @@ -92,11 +92,11 @@ package or when debugging this package. \ done; \ unset _PREFIX; \ CC="${CYGWIN64_CC:-%cygwin64_cc}"; export CC; \ - CFLAGS="${CYGWIN64_CFLAGS:-%cygwin64_cflags}"; export CFLAGS; \ - CPPFLAGS="${CYGWIN64_CPPFLAGS:-%cygwin64_cppflags}"; export CPPFLAGS; \ + CFLAGS="${CYGWIN64_CFLAGS-%cygwin64_cflags}"; export CFLAGS; \ + CPPFLAGS="${CYGWIN64_CPPFLAGS-%cygwin64_cppflags}"; export CPPFLAGS; \ if [ -x "%{_bindir}/%{cygwin64_cxx}" ]; then \ CXX="${CYGWIN64_CXX:-%cygwin64_cxx}"; export CXX; \ - CXXFLAGS="${CYGWIN64_CXXFLAGS:-%cygwin64_cflags}"; export CXXFLAGS; \ + CXXFLAGS="${CYGWIN64_CXXFLAGS-%cygwin64_cflags}"; export CXXFLAGS; \ else \ CXX=; export CXX; \ ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \ |