Commit 63de31d7 authored by Manuel Mohr's avatar Manuel Mohr
Browse files

Revise compatibility/SPEC-specific flags.

Remove some useless ones, add some sensible ones.
parent 62dd831c
......@@ -167,7 +167,6 @@ i686_flags = dict()
i686_flags["186.crafty"] = "-DLINUX_i386"
i686_flags["253.perlbmk"] = "-DSPEC_CPU2000_LINUX_I386"
i686_flags["400.perlbench"] = "-DSPEC_CPU_LINUX_IA32"
i686_flags["403.gcc"] = "-DSPEC_CPU_LINUX_IA32"
TARGET_ARCH_FLAGS["i686"] = i686_flags
sparc_flags = dict()
......@@ -188,10 +187,13 @@ COMPILER_FLAGS["cparser"] = cparser_flags
# Compatibility/SPEC-specific flags, always needed
compat_flags = dict()
compat_flags["176.gcc"] = "-fno-strict-aliasing"
compat_flags["186.crafty"] = "-DSPEC_CPU2000"
compat_flags["252.eon"] = "-DHAS_ERRLIST"
compat_flags["253.perlbmk"] = "-DSPEC_CPU2000_NEED_BOOL"
compat_flags["253.perlbmk"] = "-DSPEC_CPU2000_NEED_BOOL -DSPEC_CPU2000_LINUX -DHASATTRIBUTE"
compat_flags["254.gap"] = "-DSYS_HAS_SIGNAL_PROTO -DSYS_HAS_MALLOC_PROTO -DSYS_HAS_CALLOC_PROTO -DSYS_IS_USG -DSYS_HAS_IOCTL_PROTO -DSYS_HAS_TIME_PROTO"
compat_flags["255.vortex"] = "-fno-strict-aliasing"
compat_flags["400.perlbench"] = "-DPERL_CORE -DSPEC_CPU"
compat_flags["403.gcc"] = "-DSPEC_CPU -DSPEC_CPU_HAVE_BOOL"
compat_flags["462.libquantum"] = "-DSPEC_CPU_LINUX"
compat_flags["481.wrf"] = "-DSPEC_CPU_CASE_FLAG -DSPEC_CPU_LINUX"
compat_flags["483.xalancbmk"] = "-DSPEC_CPU_LINUX"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment