Skip to content
This repository was archived by the owner on Dec 23, 2018. It is now read-only.

Commit bfa2d4f

Browse files
committed
Cleanup
1 parent 7f2fbd2 commit bfa2d4f

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

bin/php-build

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -227,14 +227,6 @@ fix_directory_permissions() {
227227
find "$PREFIX_PATH" -type d -exec chmod go-w {} \;
228228
}
229229

230-
use_gcc42_on_lion() {
231-
if [ "$(uname -s)" = "Darwin" ]; then
232-
if [ "$(expr "$(sw_vers -productVersion | cut -f 2 -d .)" \>= 7 || true)" -eq 1 ]; then
233-
export CC=/usr/bin/gcc-4.2
234-
fi
235-
fi
236-
}
237-
238230
version() {
239231
echo "php-build ${PHP_BUILD_VERSION}"
240232
}
@@ -357,9 +349,6 @@ fi
357349
export LDFLAGS="-L'${PREFIX_PATH}/lib' ${LDFLAGS}"
358350
export CPPFLAGS="-I'${PREFIX_PATH}/include' ${CPPFLAGS}"
359351

360-
unset PHPOPT
361-
unset PHPLIB
362-
363352
trap build_failed ERR
364353
mkdir -p "$BUILD_PATH"
365354
source "$DEFINITION_PATH"

0 commit comments

Comments
 (0)