Environment#parse_flags should put -std=XXX flags in CCFLAGS, not CFLAGS

This commit is contained in:
josh committed 2016-09-30 14:02:30 -04:00
1 parent 3065dc48ec
commit c4c2d5c128
2 files changed
+4 -7

No files matched your search

-2
View File
@@ -618,8 +618,6 @@ module Rscons
elsif word == "-pthread"
append["CCFLAGS", [word]]
append["LDFLAGS", [word]]
elsif word =~ /^-std=/
append["CFLAGS", [word]]
elsif word =~ /^-Wa,(.*)$/
append["ASFLAGS", $1.split(",")]
elsif word =~ /^-Wl,(.*)$/