diff options
author | cperciva <cperciva@FreeBSD.org> | 2005-01-17 08:38:31 +0000 |
---|---|---|
committer | cperciva <cperciva@FreeBSD.org> | 2005-01-17 08:38:31 +0000 |
commit | 26981f098d9c8fe18b52e07ccf6e4da17b8f647e (patch) | |
tree | 2b5f984c262c87a7601601bcdb50c08b2833be82 | |
parent | 7e79c7bfce790bdbce9d3961564523e1be7513f3 (diff) | |
download | FreeBSD-src-26981f098d9c8fe18b52e07ccf6e4da17b8f647e.zip FreeBSD-src-26981f098d9c8fe18b52e07ccf6e4da17b8f647e.tar.gz |
Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS for building this
library. As the value suggests, this allows the library to be built repeatably;
without this flag, gcc uses a random value in its parsing.
Since the random seed is only used when handling files which do not have any
externally-visible symbols, this change is not needed for any other libraries
in the FreeBSD base system.
Discussed on: freebsd-arch (in early November)
Approved by: kan
MFC after: 1 week
-rw-r--r-- | gnu/lib/libstdc++/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 365e91f..d57ef79 100644 --- a/gnu/lib/libstdc++/Makefile +++ b/gnu/lib/libstdc++/Makefile @@ -13,6 +13,7 @@ SHLIB_MAJOR= 4 CFLAGS+= -DIN_GLIBCPP_V3 -DHAVE_CONFIG_H CFLAGS+= -I${.CURDIR} -I${SUPDIR} -I${GCCDIR} -I${SRCDIR}/include +CFLAGS+= -frandom-seed=RepeatabilityConsideredGood CXXFLAGS+= -fno-implicit-templates -ffunction-sections -fdata-sections \ -Wno-deprecated |