summaryrefslogtreecommitdiff
path: root/lang/icc7/Makefile
diff options
context:
space:
mode:
authorAlexander Leidinger <netchild@FreeBSD.org>2002-09-22 13:05:51 +0000
committerAlexander Leidinger <netchild@FreeBSD.org>2002-09-22 13:05:51 +0000
commit8b67accbb2c810adcb9258d1a73ace084ff38fee (patch)
treec2683882465582ad3b3c25af73a847b7b6300e5d /lang/icc7/Makefile
parentUpdate to 6.0.1.304. (diff)
- link libc_pic.a when compiling with "-KPIC -static"
- link libc_p.a/lib_c_r.a when compiling with "-pg -static" - fix unresolved symbols to make "-pg" and "-prof_gen" work Submitted by: marius@alchemy.franken.de Approved by: kris
Notes
Notes: svn path=/head/; revision=67028
Diffstat (limited to 'lang/icc7/Makefile')
-rw-r--r--lang/icc7/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/lang/icc7/Makefile b/lang/icc7/Makefile
index 9856205dfa47..31e0106ce669 100644
--- a/lang/icc7/Makefile
+++ b/lang/icc7/Makefile
@@ -7,6 +7,7 @@
PORTNAME= icc
PORTVERSION= 6.0.1.304
+PORTREVISION= 1
CATEGORIES= lang linux devel
MASTER_SITES=
DISTNAME= l_cc_p_6.0.1.304
@@ -105,10 +106,11 @@ post-patch:
# \n-Qlocation,ld,/usr/bin\n\n-sox-\n
do-build:
-# Fix unresolved references in libcxa.a, libimf.a and libunwind.a
- @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/cxa_atexit.c \
- ${FILESDIR}/cxa_finalize.c ${FILESDIR}/errno_location.c \
- ${FILESDIR}/stderr.c && \
+# Fix unresolved references
+ @cd ${WRKSRC} && ${CC} ${CFLAGS} -c ${FILESDIR}/assert_fail.c \
+ ${FILESDIR}/cxa_atexit.c ${FILESDIR}/cxa_finalize.c \
+ ${FILESDIR}/errno_location.c ${FILESDIR}/stderr.c \
+ ${FILESDIR}/mcount.S && \
${AR} q opt/intel/compiler60/ia32/lib/libcxa.a *.o
# Some magic to be able to link
@${CC} ${CFLAGS} -o ${WRKSRC}/opt/intel/compiler60/ia32/bin/ld ${FILESDIR}/ld.c