mirror of
https://github.com/PrimeDecomp/prime.git
synced 2025-06-30 09:43:28 +00:00
Enable override for host compiler
Former-commit-id: b30f6910b71461c459963b8a8f35857579b333ee
This commit is contained in:
parent
864a83a0c6
commit
d6a754e555
@ -1127,7 +1127,7 @@ else:
|
|||||||
n.newline()
|
n.newline()
|
||||||
n.variable("host_cflags", "-I include/ -Wno-trigraphs")
|
n.variable("host_cflags", "-I include/ -Wno-trigraphs")
|
||||||
n.variable("host_cppflags",
|
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
|
# Rules
|
||||||
|
@ -71,11 +71,15 @@ typedef int BOOL;
|
|||||||
#ifndef final
|
#ifndef final
|
||||||
#define final
|
#define final
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#if defined(__MWERKS__)
|
||||||
#ifndef override
|
#ifndef override
|
||||||
#define override
|
#define override
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef ATTRIBUTE_ALIGN
|
#ifndef ATTRIBUTE_ALIGN
|
||||||
#if defined(__MWERKS__) || defined(__GNUC__)
|
#if defined(__MWERKS__) || defined(__GNUC__)
|
||||||
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
|
#define ATTRIBUTE_ALIGN(num) __attribute__((aligned(num)))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user