summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--sofort/ccenv/ccenv.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/sofort/ccenv/ccenv.sh b/sofort/ccenv/ccenv.sh
index 83b5daa..a8955fb 100644
--- a/sofort/ccenv/ccenv.sh
+++ b/sofort/ccenv/ccenv.sh
@@ -905,7 +905,7 @@ ccenv_set_os_dso_patterns()
ccenv_set_os_pe_switches()
{
- if [ "$ccenv_os" = 'PE' ] && [ -z "$ccenv_pe_subsystem" ]; then
+ if [ "$ccenv_cc_binfmt" = 'PE' ] && [ -z "$ccenv_pe_subsystem" ]; then
case "$ccenv_os" in
midipix | mingw )
ccenv_pe_subsystem='windows'