mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Don't build tests twice under MULTILIB on 32 bit boxes.
Specifying the flag there probably doesn't make much sense in the first place.
This commit is contained in:
@@ -504,7 +504,9 @@ function(add_tests module_files)
|
||||
|
||||
testcase(debug "-g;-d-debug")
|
||||
testcase(release "-O3;-release")
|
||||
if(MULTILIB)
|
||||
|
||||
# On 64 bit multilib builds, run the tests in 32 bit mode as well.
|
||||
if(MULTILIB AND ${MULTILIB_SUFFIX} EQUAL 32)
|
||||
testcase(debug_32 "-g;-d-debug;-m32")
|
||||
testcase(release_32 "-O3;-release;-m32")
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user