diff options
author | David Benjamin <davidben@google.com> | 2016-02-24 01:44:12 +0300 |
---|---|---|
committer | Adam Langley <agl@google.com> | 2016-02-24 01:48:31 +0300 |
commit | 3dbecdf6f422fe6112533bef95be41caedb80583 (patch) | |
tree | 78deea36d646a52d7759f0b288956d216e988ef6 /crypto/CMakeLists.txt | |
parent | 65f83b64d92a17b999d7db711628ee0a9a74e9d6 (diff) |
Append to CMAKE_ASM_FLAGS rather than replace it.
Otherwise we clobber things like -m32.
Change-Id: I9457e4b50dc3063643c31d19c7935276b8a312a1
Reviewed-on: https://boringssl-review.googlesource.com/7209
Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/CMakeLists.txt')
-rw-r--r-- | crypto/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/CMakeLists.txt b/crypto/CMakeLists.txt index b59b7a26..ad2cdd7f 100644 --- a/crypto/CMakeLists.txt +++ b/crypto/CMakeLists.txt @@ -22,7 +22,7 @@ elseif(UNIX) endif() set(ASM_EXT S) enable_language(ASM) - set(CMAKE_ASM_FLAGS "-Wa,--noexecstack") + set(CMAKE_ASM_FLAGS "${CMAKE_ASM_FLAGS} -Wa,--noexecstack") else() if (CMAKE_CL_64) message("Using nasm") |