aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/ENV/4.3/cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/Library/ENV/4.3/cc b/Library/ENV/4.3/cc
index 34d007323..a8afc4485 100755
--- a/Library/ENV/4.3/cc
+++ b/Library/ENV/4.3/cc
@@ -47,7 +47,7 @@ class Cmd
elsif @args.include? '-c'
:cc
elsif @args.include? '-E'
- :cpp
+ :ccE
else
:ccld
end
@@ -93,8 +93,10 @@ class Cmd
cflags + args + cppflags + ldflags
when :cc
cflags + args + cppflags
- when :cpp
+ when :ccE
%w{-E} + args + cppflags
+ when :cpp
+ args + cppflags
when :ld
ldflags + args
end.compact