diff options
author | Warner Losh <imp@FreeBSD.org> | 2014-04-01 14:24:03 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2014-04-01 14:24:03 +0000 |
commit | 8b77bb7921e663d840a4b9cd0c90ff45c365f33f (patch) | |
tree | 61f47b2a2a4aaec1f1fd5d03ddc1bf25f2c61981 /sys/conf/Makefile.arm | |
parent | c77d0c982c7f0e7939fac4d3670439f4568d26ee (diff) | |
download | src-8b77bb7921e663d840a4b9cd0c90ff45c365f33f.tar.gz src-8b77bb7921e663d840a4b9cd0c90ff45c365f33f.zip |
Test MK_ARM_ABI rather than if WITHOUT_ARM_ABI is defined.
Notes
Notes:
svn path=/head/; revision=263992
Diffstat (limited to 'sys/conf/Makefile.arm')
-rw-r--r-- | sys/conf/Makefile.arm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/Makefile.arm b/sys/conf/Makefile.arm index 82b39f863dec..51659677ef8c 100644 --- a/sys/conf/Makefile.arm +++ b/sys/conf/Makefile.arm @@ -44,10 +44,10 @@ CFLAGS += -mno-thumb-interwork .endif .if empty(DDB_ENABLED) -.if defined(WITHOUT_ARM_EABI) && ${COMPILER_TYPE} != "clang" +.if MK_ARM_EABI == "no" && ${COMPILER_TYPE} == "gcc" CFLAGS += -mno-apcs-frame .endif -.elif !defined(WITHOUT_ARM_EABI) +.elif MK_ARM_EABI != "no" CFLAGS += -funwind-tables .if ${COMPILER_TYPE} == "clang" # clang requires us to tell it to emit assembly with unwind information |