aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2011-04-21 12:21:55 +0800
committerdinoex <dinoex@FreeBSD.org>2011-04-21 12:21:55 +0800
commit0799df7a8dea209ebbf919e537529a773a681de4 (patch)
treede7d9bbf9ff6a43bb7b3f4c0e7c661aa24a3877d /lang
parent04072344a8826a16b79fc696148b58a5e9641496 (diff)
downloadfreebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.gz
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.tar.zst
freebsd-ports-gnome-0799df7a8dea209ebbf919e537529a773a681de4.zip
- fix build on i386
Diffstat (limited to 'lang')
-rw-r--r--lang/etoile-compiler/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/lang/etoile-compiler/Makefile b/lang/etoile-compiler/Makefile
index 1cb058bd2f8f..410479c7412f 100644
--- a/lang/etoile-compiler/Makefile
+++ b/lang/etoile-compiler/Makefile
@@ -36,4 +36,10 @@ FOUNDATION_PORT?= devel/etoile-foundation
LANGUAGEKIT_PORT?= lang/etoile-languagekit
SMALLTALKKIT_PORT?= lang/etoile-smalltalkkit
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${ARCH} == "i386"
+ADDITIONAL_LDFLAGS+= -lgcc_s -lgcc
+.endif
+
+.include <bsd.port.post.mk>