SHA256
1
0
forked from pool/binutils

- Disable --enable-deterministic-archives again, as it breaks

valid Makefiles.

OBS-URL: https://build.opensuse.org/package/show/devel:gcc/binutils?expand=0&rev=154
This commit is contained in:
Michael Matz 2014-02-21 17:00:54 +00:00 committed by Git OBS Bridge
parent bcc5660694
commit bd8b0b1cf0
38 changed files with 266 additions and 19 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -214,13 +214,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Feb 21 16:59:02 UTC 2014 - matz@suse.de
- Disable --enable-deterministic-archives again, as it breaks
valid Makefiles.
-------------------------------------------------------------------
Mon Feb 10 23:07:23 UTC 2014 - subchaser1@gmail.com

View File

@ -217,13 +217,20 @@ EXTRA_TARGETS="$EXTRA_TARGETS,arm-suse-linux-gnueabi"
EXTRA_TARGETS="$EXTRA_TARGETS,aarch64-suse-linux"
%endif
%endif
# Normally we'd like to add --enable-deterministic-archives
# here (which by default makes uid/mtime be zero for archive
# members), to increase chances of getting a reproducable build
# But this breaks Makefile rules when directly accessing archives:
# rebuilding the same archive from unchanged .o files recreates
# it, because timestamps in the .a are 0, unequal to the actual timestamp
# of the .o files :-/
%define common_flags CFLAGS="${RPM_OPT_FLAGS}" CXXFLAGS="${RPM_OPT_FLAGS}" \\\
--prefix=%{_prefix} --libdir=%{_libdir} \\\
--infodir=%{_infodir} --mandir=%{_mandir} \\\
--with-bugurl=http://bugs.opensuse.org/ \\\
--with-pkgversion="GNU Binutils; %{DIST}" \\\
--with-separate-debug-dir=%{_prefix}/lib/debug \\\
--with-pic --build=%{HOST} --enable-deterministic-archives
--with-pic --build=%{HOST}
mkdir build-dir
cd build-dir
../configure %common_flags \