gcc48: apply G3 fix

This commit is contained in:
Misty De Meo committed 2018-01-12 22:16:26 +11:00
1 parent 54e3e4778c
commit 2ecde7fe57
1 file changed
+4
+4
View File
@@ -89,6 +89,10 @@ class Gcc48 < Formula
# GCC will suffer build errors if forced to use a particular linker.
ENV.delete "LD"
# Otherwise libstdc++ will be incorrectly tagged with cpusubtype 10 (G4e)
# https://github.com/mistydemeo/tigerbrew/issues/538
ENV.append_to_cflags "-force_cpusubtype_ALL" if Hardware::CPU.family == :g3
if MacOS.version < :leopard
ENV["AS"] = ENV["AS_FOR_TARGET"] = "#{Formula["cctools"].bin}/as"
end