Date: Wed, 11 May 2016 20:06:23 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r299480 - head/secure/lib/libcrypto Message-ID: <201605112006.u4BK6NNd095917@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Wed May 11 20:06:23 2016 New Revision: 299480 URL: https://svnweb.freebsd.org/changeset/base/299480 Log: Set CC environment variable for Perl scripts. This is for detecting assembler/compiler capabilities, e.g., AVX instructions. Modified: head/secure/lib/libcrypto/Makefile.asm Modified: head/secure/lib/libcrypto/Makefile.asm ============================================================================== --- head/secure/lib/libcrypto/Makefile.asm Wed May 11 19:59:05 2016 (r299479) +++ head/secure/lib/libcrypto/Makefile.asm Wed May 11 20:06:23 2016 (r299480) @@ -66,10 +66,10 @@ CLEANFILES= ${ASM} ${SHA_ASM:S/$/.s/} .pl.S: ( echo '# $$'FreeBSD'$$' ;\ echo '# Do not modify. This file is auto-generated from ${.IMPSRC:T}.' ;\ - perl ${.IMPSRC} elf ) > ${.TARGET} + env CC=cc perl ${.IMPSRC} elf ) > ${.TARGET} ${SHA_TMP}: ${SHA_SRC} - perl ${.ALLSRC} elf ${.TARGET} + env CC=cc perl ${.ALLSRC} elf ${.TARGET} .for s in ${SHA_ASM} ${s}.S: ${s}.s @@ -146,9 +146,9 @@ CLEANFILES= ${ASM} ( echo '# $$'FreeBSD'$$' ;\ echo '# Do not modify. This file is auto-generated from ${.IMPSRC:T}.' ;\ echo '#ifdef PIC' ;\ - perl ${PERLPATH} ${.IMPSRC} elf ${CFLAGS} -fpic -DPIC ;\ + env CC=cc perl ${PERLPATH} ${.IMPSRC} elf ${CFLAGS} -fpic -DPIC ;\ echo '#else' ;\ - perl ${PERLPATH} ${.IMPSRC} elf ${CFLAGS} ;\ + env CC=cc perl ${PERLPATH} ${.IMPSRC} elf ${CFLAGS} ;\ echo '#endif') |\ sed -E 's|(\.file[[:blank:]]+)".*"|\1"${.TARGET}"|' > ${.TARGET} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605112006.u4BK6NNd095917>