summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2018-02-16 13:45:11 -0500
committerSteve Dickson <steved@redhat.com>2018-02-23 09:17:48 -0500
commit58201cea78e313ff28aed9ff371f82643b2fe11d (patch)
tree60c46cf2f56f03ae69c3fccd42d9a15ed75470e9
parentfe2202312d9c008298dc8a1e75eeeaac0670779b (diff)
downloadnfs-utils-58201cea78e313ff28aed9ff371f82643b2fe11d.tar.gz
configure.ac: clean up
Remove ARCHFLAGS since it has not been needed for years. Signed-off-by: Steve Dickson <steved@redhat.com>
-rw-r--r--configure.ac20
1 files changed, 6 insertions, 14 deletions
diff --git a/configure.ac b/configure.ac
index 95991c1..b3f6b97 100644
--- a/configure.ac
+++ b/configure.ac
@@ -543,20 +543,12 @@ AC_SUBST(CXXFLAGS_FOR_BUILD)
AC_SUBST(CPPFLAGS_FOR_BUILD)
AC_SUBST(LDFLAGS_FOR_BUILD)
-dnl *************************************************************
-dnl Set up "global" CFLAGS
-dnl *************************************************************
-dnl Use architecture-specific compile flags
-dnl (We use $host and not $build in case we are cross-compiling)
-dnl *************************************************************
-dnl Note: we no longer have arch specific compile flags, but
-dnl the stub is left here in case they are needed one day.
-case $host in
- *)
- ARCHFLAGS="" ;;
-esac
-
-my_am_cflags="-Wall -Wextra -Wstrict-prototypes $ARCHFLAGS -pipe"
+my_am_cflags="\
+ -pipe \
+ -Wall \
+ -Wextra \
+ -Wstrict-prototypes \
+"
AC_SUBST([AM_CFLAGS], ["$my_am_cflags"])