aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/sdcc-devel/Makefile5
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