Better system build flags handling.
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1923 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -18,6 +18,28 @@
|
||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
##############################################################################
|
||||
# System specific build flags #
|
||||
##############################################################################
|
||||
|
||||
|
||||
# CFLAGS
|
||||
case "$HOST_SYSTEM" in
|
||||
CYGWIN*)
|
||||
# HACK: sdl-config on Cygwin supplies -mno-cygwin which means that
|
||||
# dependencies detected without that flag may not be available at
|
||||
# the actual build.
|
||||
SYSTEM_HOST_CFLAGS="-mno-cygwin"
|
||||
;;
|
||||
*)
|
||||
SYSTEM_HOST_CFLAGS=""
|
||||
;;
|
||||
esac
|
||||
|
||||
# LDFLAGS
|
||||
SYSTEM_HOST_LDFLAGS=""
|
||||
|
||||
|
||||
##############################################################################
|
||||
# Describe the programs (possibly) used: #
|
||||
##############################################################################
|
||||
|
||||
Reference in New Issue
Block a user