Module Name: src Committed By: mrg Date: Mon Feb 5 22:12:37 UTC 2018
Modified Files: src/lib/libc/gmon: Makefile.inc Log Message: copy the i386 workaround for amd64. To generate a diff of this commit: cvs rdiff -u -r1.12 -r1.13 src/lib/libc/gmon/Makefile.inc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/gmon/Makefile.inc diff -u src/lib/libc/gmon/Makefile.inc:1.12 src/lib/libc/gmon/Makefile.inc:1.13 --- src/lib/libc/gmon/Makefile.inc:1.12 Sun Feb 4 01:13:45 2018 +++ src/lib/libc/gmon/Makefile.inc Mon Feb 5 22:12:37 2018 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.inc,v 1.12 2018/02/04 01:13:45 mrg Exp $ +# $NetBSD: Makefile.inc,v 1.13 2018/02/05 22:12:37 mrg Exp $ # @(#)Makefile.inc 8.1 (Berkeley) 6/4/93 # gmon sources @@ -18,7 +18,8 @@ MLINKS+=moncontrol.3 monstartup.3 COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wa,--no-warn :} .endif -.if (${MACHINE_CPU} == "i386") && ${HAVE_GCC:U0} >= 6 +.if (${MACHINE_CPU} == "i386" || ${MACHINE_CPU} == "x86_64") && \ + ${HAVE_GCC:U0} >= 6 # The usage of __builtin_frame_address(1) should be OK. COPTS.mcount.c+=${${ACTIVE_CXX} == "gcc":? -Wno-error=frame-address :} .endif