diff options
| author | matt <matt@NetBSD.org> | 2013-10-09 22:33:41 +0000 |
|---|---|---|
| committer | matt <matt@NetBSD.org> | 2013-10-09 22:33:41 +0000 |
| commit | 38da7a5fdeed148fc3ab0f81df235279cdff5baf (patch) | |
| tree | 8cbe79be8b3b5bb8452009b29b126e32706bd9c7 /lib/libpthread | |
| parent | 346777ab60cc2b7258fac5c3c9667fc54db81971 (diff) | |
Use MACHINE_CPU for m68k. Use similar logic for both tests.
Diffstat (limited to 'lib/libpthread')
| -rw-r--r-- | lib/libpthread/Makefile | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 08a77fe0ce7..07781a1f3da 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.82 2013/08/15 22:38:24 matt Exp $ +# $NetBSD: Makefile,v 1.83 2013/10/09 22:33:41 matt Exp $ # WARNS?= 5 @@ -78,11 +78,10 @@ SRCS+= pthread_compat.c ALIGN_FUNCTIONS= ${${ACTIVE_CC} == "gcc":? -falign-functions=32 :} -.if ${MACHINE_ARCH} == "m68k" || ${MACHINE_ARCH} == "m68000" || \ - ${MACHINE_CPU} == "sh3" || ${MACHINE_ARCH} == "vax" -OMIT_FRAME_POINTER= -.else +.if ${MACHINE_CPU} != "m68k" && ${MACHINE_CPU} != "sh3" && ${MACHINE_ARCH} != "vax" OMIT_FRAME_POINTER= -fomit-frame-pointer +.else +OMIT_FRAME_POINTER= .endif # The TSD routines are used in the implementation of profiling, and so |
