kiss-mfavila-small/ports/unofficial/stable/ecl/build

13 lines
229 B
Bash
Executable File

#!/bin/sh -e
#Force simple CFLAGS and override LDFLAGS to ensure successful build
LDFLAGS=$(echo $LDFLAGS|sed 's/-pie//')
CFLAGS="-O2 -w -pipe "
CXXFLAGS="$CFLAGS"
./configure \
--prefix=/usr
make
make DESTDIR="$1" install