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.cygwin32 | |
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.cygwin32')
-rw-r--r-- | macros.cygwin32 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/macros.cygwin32 b/macros.cygwin32 index edb4188..9131b14 100644 --- a/macros.cygwin32 +++ b/macros.cygwin32 @@ -91,11 +91,11 @@ package or when debugging this package. \ done; \ unset _PREFIX; \ CC="${CYGWIN32_CC:-%cygwin32_cc}"; export CC; \ - CFLAGS="${CYGWIN32_CFLAGS:-%cygwin32_cflags}"; export CFLAGS; \ - CPPFLAGS="${CYGWIN32_CPPFLAGS:-%cygwin32_cppflags}"; export CPPFLAGS; \ + CFLAGS="${CYGWIN32_CFLAGS-%cygwin32_cflags}"; export CFLAGS; \ + CPPFLAGS="${CYGWIN32_CPPFLAGS-%cygwin32_cppflags}"; export CPPFLAGS; \ if [ -x "%{_bindir}/%{cygwin32_cxx}" ]; then \ CXX="${CYGWIN32_CXX:-%cygwin32_cxx}"; export CXX; \ - CXXFLAGS="${CYGWIN32_CXXFLAGS:-%cygwin32_cflags}"; export CXXFLAGS; \ + CXXFLAGS="${CYGWIN32_CXXFLAGS-%cygwin32_cflags}"; export CXXFLAGS; \ else \ CXX=; export CXX; \ ac_cv_prog_CXX=no; export ac_cv_prog_CXX; \ |