use unexport instead of export to clear perforce variables

SVN-Revision: 15708
This commit is contained in:
Felix Fietkau 2009-05-08 15:35:27 +00:00
parent cadab984f8
commit b5ddcb18fa

View file

@ -27,10 +27,7 @@ export LD_LIBRARY_PATH:=$(if $(LD_LIBRARY_PATH),$(LD_LIBRARY_PATH):)$(STAGING_DI
export DYLD_LIBRARY_PATH:=$(if $(DYLD_LIBRARY_PATH),$(DYLD_LIBRARY_PATH):)$(STAGING_DIR_HOST)/lib
# prevent perforce from messing with the patch utility
export P4PORT=
export P4USER=
export P4CONFIG=
export P4CLIENT=
unexport P4PORT P4USER P4CONFIG P4CLIENT
# make sure that a predefined CFLAGS variable does not disturb packages
export CFLAGS=