RPM Package Manager, CVS Repository
http://rpm5.org/cvs/
____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall
Root: /v/rpm/cvs Email: rse@rpm5.org
Module: rpm Date: 27-Aug-2007 20:51:02
Branch: HEAD Handle: 2007082719510200
Modified files:
rpm configure.ac
Log:
Small cleanup:
Use $GCC instead of undocumented autoconf internal $ac_cv_c_compiler_gnu
Submitted by: Ralf Corsépius <corsepiu@fedoraproject.org>
Obtained from: rpm.org
Summary:
Revision Changes Path
2.236 +1 -1 rpm/configure.ac
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/configure.ac
============================================================================
$ cvs diff -u -r2.235 -r2.236 configure.ac
--- rpm/configure.ac 14 Aug 2007 06:47:27 -0000 2.235
+++ rpm/configure.ac 27 Aug 2007 18:51:02 -0000 2.236
@@ -83,7 +83,7 @@
AC_ARG_ENABLE(build-pie,
AS_HELP_STRING([--enable-build-pie], [build RPM as Position Independent Executable (PIE) (GCC only)]), [dnl
if test ".$enableval" = .yes; then
- if test ".$ac_cv_c_compiler_gnu" = .yes; then
+ if test ".$GCC" = .yes; then
CFLAGS="$CFLAGS -fpie"
LDFLAGS="$LDFLAGS -pie"
else
@@ .
Received on Mon Aug 27 20:51:02 2007