Initial commit
This commit is contained in:
30
BuildConfig/SunPro-Flags.rules
Normal file
30
BuildConfig/SunPro-Flags.rules
Normal file
@@ -0,0 +1,30 @@
|
||||
# BuildConfig/SunPro-Flags.rules
|
||||
# Author: Patrick Baggett <ptbaggett@762studios.com>
|
||||
# Created: 4/1/2012
|
||||
#
|
||||
# Purpose:
|
||||
#
|
||||
# Common flags for Sun "cc" to reduce redundancy
|
||||
#
|
||||
# License:
|
||||
#
|
||||
# This program is free software. It comes without any warranty, to
|
||||
# the extent permitted by applicable law. You can redistribute it
|
||||
# and/or modify it under the terms of the Do What The Fuck You Want
|
||||
# To Public License, Version 2, as published by Sam Hocevar. See
|
||||
# http://sam.zoy.org/wtfpl/COPYING for more details.
|
||||
|
||||
SUNPRO_COMMON := -mt -features=extensions
|
||||
|
||||
ifeq ($(findstring sparc,$(ARCH)),sparc)
|
||||
ISSPARC := 1
|
||||
endif
|
||||
|
||||
ifeq ($(ISSPARC),1)
|
||||
SUNPRO_COMMON += -xmemalign=8s
|
||||
endif
|
||||
|
||||
OS_CFLAGS += $(SUNPRO_COMMON) -xalias_level=std
|
||||
OS_CXXFLAGS += $(SUNPRO_COMMON) -xalias_level=simple
|
||||
OS_LDFLAGS += $(SUNPRO_COMMON)
|
||||
|
||||
Reference in New Issue
Block a user