diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-15 21:17:56 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-09-15 21:17:56 +0000 |
commit | 30916d022ad647a8018eaccb090aac6b6d243794 (patch) | |
tree | edc6f4e6da333bf07ae574c4bef35f900afa3def | |
parent | - Fix build on pointyhat by preinstalling build-depend for mysql-server target (diff) |
- Fix build on sparc64
Approved by: portmgr (pav)
Notes
Notes:
svn path=/head/; revision=220395
-rw-r--r-- | lang/sdcc-devel/Makefile | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lang/sdcc-devel/Makefile b/lang/sdcc-devel/Makefile index b70c4b450275..e3e058043557 100644 --- a/lang/sdcc-devel/Makefile +++ b/lang/sdcc-devel/Makefile @@ -44,6 +44,11 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} \ .include <bsd.port.pre.mk> +.if ${ARCH} == "sparc64" +CFLAGS+= -O0 +CXXFLAGS+= -O0 +.endif + .if !defined(WITHOUT_MCS51) && !defined(WITHOUT_UCSIM) && ${OSVERSION} < 500019 LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline .endif |