summaryrefslogtreecommitdiffstats
path: root/editors/emacs/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'editors/emacs/BUILD')
-rwxr-xr-xeditors/emacs/BUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/emacs/BUILD b/editors/emacs/BUILD
index 322fe525fb..6cc5d4dd37 100755
--- a/editors/emacs/BUILD
+++ b/editors/emacs/BUILD
@@ -9,7 +9,7 @@ export LDFLAGS="${LDFLAGS/-z combreloc/}" &&
#
export LDFLAGS="${LDFLAGS//-Wl,-O1/}" &&
-if [ "$VCS" == "y" ]; then
+if [[ "$EMACS_BRANCH" == "scm" ]]; then
# Crashes with -O3
export CFLAGS="${CFLAGS//-O3/-O2}" &&
@@ -17,6 +17,7 @@ if [ "$VCS" == "y" ]; then
[[ $CROSS_INSTALL == on ]] && OPTS="$OPTS --host=${HOST}"
+ ./autogen.sh &&
./configure --prefix=${INSTALL_ROOT}/usr \
--sysconfdir=${INSTALL_ROOT}/etc \
--localstatedir=${INSTALL_ROOT}/var \