diff options
author | netchild <netchild@FreeBSD.org> | 2002-09-22 21:05:51 +0800 |
---|---|---|
committer | netchild <netchild@FreeBSD.org> | 2002-09-22 21:05:51 +0800 |
commit | 3a1d7b674b9c89caa82819d476cb444bbb6b2445 (patch) | |
tree | d4ad99fb85bf07a1e74c484d014a3777ef991bd3 /lang/icc7/Makefile | |
parent | d147944fb44241a8f63e8be1cd4105f63a8ce43d (diff) | |
download | freebsd-ports-gnome-3a1d7b674b9c89caa82819d476cb444bbb6b2445.tar.gz freebsd-ports-gnome-3a1d7b674b9c89caa82819d476cb444bbb6b2445.tar.zst freebsd-ports-gnome-3a1d7b674b9c89caa82819d476cb444bbb6b2445.zip |
- 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
Diffstat (limited to 'lang/icc7/Makefile')
-rw-r--r-- | lang/icc7/Makefile | 10 |
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 |