Revised prior OSX specific makefile fix to avoid a grep error message

This commit is contained in:
Mark Pizzolato 2012-04-18 09:09:40 -07:00
parent 127c8042c1
commit 3836306446

View file

@ -81,7 +81,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
OSNAME = OSX OSNAME = OSX
LIBEXT = dylib LIBEXT = dylib
# OSX's XCode gcc doesn't support LTO, but gcc built to explicitly enable it will work # OSX's XCode gcc doesn't support LTO, but gcc built to explicitly enable it will work
ifeq (,$(shell $(GCC) -v /dev/null 2>&1 | grep '--enable-lto')) ifeq (,$(shell $(GCC) -v /dev/null 2>&1 | grep '\-\-enable-lto'))
LTO_EXCLUDE_VERSIONS += $(GCC_VERSION) LTO_EXCLUDE_VERSIONS += $(GCC_VERSION)
endif endif
else else