mirror of https://github.com/PrimeDecomp/prime.git
Enable override for host compiler
This commit is contained in:
parent
77bf0d656b
commit
b30f6910b7
|
@ -1127,7 +1127,7 @@ else:
|
|||
n.newline()
|
||||
n.variable("host_cflags", "-I include/ -Wno-trigraphs")
|
||||
n.variable("host_cppflags",
|
||||
"-std=c++98 -I include/ -fno-exceptions -fno-rtti -D_CRT_SECURE_NO_WARNINGS -Wno-trigraphs")
|
||||
"-std=c++98 -I include/ -fno-exceptions -fno-rtti -D_CRT_SECURE_NO_WARNINGS -Wno-trigraphs -Wno-c++11-extensions")
|
||||
|
||||
###
|
||||
# Rules
|
||||
|
|
|
@ -71,11 +71,15 @@ typedef int BOOL;
|
|||
#ifndef final
|
||||
#define final
|
||||
#endif
|
||||
|
||||
#if defined(__MWERKS__)
|
||||
#ifndef override
|
||||
#define override
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifndef ATTRIBUTE_ALIGN
|
||||
#if defined(__MWERKS__) || defined(__GNUC__)
|
||||
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
|
||||
|
|
Loading…
Reference in New Issue