Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Apr 2014 14:24:03 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263992 - head/sys/conf
Message-ID:  <201404011424.s31EO33t014879@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Tue Apr  1 14:24:03 2014
New Revision: 263992
URL: http://svnweb.freebsd.org/changeset/base/263992

Log:
  Test MK_ARM_ABI rather than if WITHOUT_ARM_ABI is defined.

Modified:
  head/sys/conf/Makefile.arm

Modified: head/sys/conf/Makefile.arm
==============================================================================
--- head/sys/conf/Makefile.arm	Tue Apr  1 14:23:58 2014	(r263991)
+++ head/sys/conf/Makefile.arm	Tue Apr  1 14:24:03 2014	(r263992)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404011424.s31EO33t014879>