[PATCH 1/7] configure.ac: clean up

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Remove ARCHFLAGS since it has not been needed for years.

Signed-off-by: Steve Dickson <steved@xxxxxxxxxx>
---
 configure.ac | 20 ++++++--------------
 1 file 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"])
 
-- 
2.14.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux