diff options
author | Guillem Jover <guillem@debian.org> | 2016-08-25 00:36:31 +0200 |
---|---|---|
committer | Guillem Jover <guillem@debian.org> | 2016-10-29 16:02:48 +0200 |
commit | 4f8bca211cb06db748f418723af68d64e42aa54a (patch) | |
tree | 64a1af1ac98fd4f6ce1b06d167cab38ef1a1ad6a /configure.ac | |
parent | cb0656f31ad55cac9175a2283394ba17316f6a5c (diff) | |
download | dpkg-4f8bca211cb06db748f418723af68d64e42aa54a.tar.gz |
build: Clean up compiler and linker automatic flag usage
Detect if the flags work at configure time, instead of enabling them
unconditionally. Amend the description so that the above is clear. And
rename the options so that downstreams realize about the change.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 3123d0ce0..7f22d8edd 100644 --- a/configure.ac +++ b/configure.ac @@ -132,8 +132,8 @@ DPKG_MMAP # Checks for the build machinery. AC_DEFINE(LIBDPKG_VOLATILE_API, 1, [Acknowledge the volatility of the API.]) DPKG_COMPILER_WARNINGS -DPKG_COMPILER_OPTIMISATIONS -DPKG_LINKER_OPTIMISATIONS +DPKG_COMPILER_OPTIMIZATIONS +DPKG_LINKER_OPTIMIZATIONS DPKG_ARCHITECTURE AC_DEFINE([PACKAGE_RELEASE], [PACKAGE_VERSION " (" ARCHITECTURE ")"], [Define the project release information, version and architecture]) |