summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Steinbeck <marcel dot steinbeck at googlemail dot com>2017-02-13 22:42:44 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-02-18 07:54:09 +0700
commit104c2eaca348d78ef14df52ff7b0ecf724d7c6fd (patch)
tree54d77e103ba61bf3f326af63a26864981bd97ad8
parent897f83f739dfa95e00d2569a7823688418afc3da (diff)
downloadslackbuilds-104c2eaca348d78ef14df52ff7b0ecf724d7c6fd.tar.gz
development/antlr2: Add compiler flags.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/antlr2/README2
-rw-r--r--development/antlr2/antlr2.SlackBuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/development/antlr2/README b/development/antlr2/README
index a81558fba0..efe5426e3d 100644
--- a/development/antlr2/README
+++ b/development/antlr2/README
@@ -5,4 +5,4 @@ structured text or binary files.
Optional dependencies are jdk and mono (to enable Java and C# support).
C++ and Python are enabled by default.
-It is safe to install alongside libantlr3c
+It is safe to install alongside libantlr3c.
diff --git a/development/antlr2/antlr2.SlackBuild b/development/antlr2/antlr2.SlackBuild
index 107729cc81..a80ec48423 100644
--- a/development/antlr2/antlr2.SlackBuild
+++ b/development/antlr2/antlr2.SlackBuild
@@ -89,7 +89,7 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-examples \
--build=$ARCH-slackware-linux
-make
+CFLAGS="$SLKCFLAGS" CXXFLAGS="$SLKCFLAGS" make
make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \