diff options
-rwxr-xr-x | source4/heimdal_build/build_external.sh | 2 | ||||
-rw-r--r-- | source4/heimdal_build/config.mk | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/heimdal_build/build_external.sh b/source4/heimdal_build/build_external.sh index c56e9b09bd..355facc6dd 100755 --- a/source4/heimdal_build/build_external.sh +++ b/source4/heimdal_build/build_external.sh @@ -3,6 +3,7 @@ # build generated asn1, et and flex files in heimdal/ tree # tridge@samba.org, June 2005 +CC=shift TOP=`pwd` ASN1_COMPILE=$TOP/bin/asn1_compile ET_COMPILE=$TOP/bin/compile_et @@ -10,7 +11,6 @@ ET_COMPILE=$TOP/bin/compile_et # we need to substitute these correctly based on configure output FLEX=flex BISON=bison -CC=gcc build_asn1() { f=$1 diff --git a/source4/heimdal_build/config.mk b/source4/heimdal_build/config.mk index 45b82672e4..aca4589ffe 100644 --- a/source4/heimdal_build/config.mk +++ b/source4/heimdal_build/config.mk @@ -364,7 +364,7 @@ REQUIRED_SUBSYSTEMS = COMPILE_ET LIBREPLACE ####################### # Start TARGET HEIMDAL_EXTERNAL [TARGET::HEIMDAL_EXTERNAL] -CMD = heimdal_build/build_external.sh +CMD = heimdal_build/build_external.sh $(CC) REQUIRED_SUBSYSTEMS = ASN1_COMPILER # END TARGET HEIMDAL_EXTERNAL ####################### |