aboutsummaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorAlexandre Rames <alexandre.rames@linaro.org>2016-10-24 11:59:33 +0100
committerAlexandre Rames <alexandre.rames@linaro.org>2016-10-24 13:22:59 +0100
commit586c6b98fb8159e0a77d0c3d425551eaddc7adcd (patch)
tree4946b6127b6cbd9b9acca51046f7ae47414e38ab /SConstruct
parentc0b25f28106fbbbf8880e0b259de1a639ea1e73f (diff)
downloadvixl-586c6b98fb8159e0a77d0c3d425551eaddc7adcd.tar.gz
Fix compilation of the tests for scopes when targetting aarch32 only.
Change-Id: Ia62f3529e62aae31452087df734ba051ed86dace
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct10
1 files changed, 10 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 7214699e..12e0c7aa 100644
--- a/SConstruct
+++ b/SConstruct
@@ -93,6 +93,16 @@ options = {
'mode:release' : {
'CCFLAGS' : ['-O3'],
},
+ 'target:aarch32' : {
+ 'CCFLAGS' : ['-DVIXL_INCLUDE_TARGET_AARCH32']
+ },
+ 'target:aarch64' : {
+ 'CCFLAGS' : ['-DVIXL_INCLUDE_TARGET_AARCH64']
+ },
+ 'target:both' : {
+ 'CCFLAGS' : ['-DVIXL_INCLUDE_TARGET_AARCH32'],
+ 'CCFLAGS' : ['-DVIXL_INCLUDE_TARGET_AARCH64']
+ },
'simulator:aarch64' : {
'CCFLAGS' : ['-DVIXL_INCLUDE_SIMULATOR_AARCH64'],
},