diff options
author | Jakub Jelinek <jakub@redhat.com> | 2021-11-18 10:06:01 +0100 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2021-11-18 10:08:03 +0100 |
commit | edd2249b17fb7150da66b03adb1a4e381926047d (patch) | |
tree | 776796ed5fd1036cf2f601cf99ad06207adb4b9a | |
parent | 206b22d021d94adbaa79e1d443c87415254b15de (diff) | |
download | gcc-edd2249b17fb7150da66b03adb1a4e381926047d.zip gcc-edd2249b17fb7150da66b03adb1a4e381926047d.tar.gz gcc-edd2249b17fb7150da66b03adb1a4e381926047d.tar.bz2 |
libsanitizer: Fix bootstrap on FreeBSD [PR102675]
Here is an alternative to the patch changing a file imported from
compiler-rt upstream, so that we don't need to cary a local patch for that
particular problem.
2021-11-18 Jakub Jelinek <jakub@redhat.com>
PR bootstrap/102675
* sanitizer_common/Makefile.am: Use -DUSE_SYSTEM_MD5 in AM_CXXFLAGS
of sanitizer_platform_limits_freebsd.cpp.
* sanitizer_common/Makefile.in: Regenerated.
-rw-r--r-- | libsanitizer/sanitizer_common/Makefile.am | 1 | ||||
-rw-r--r-- | libsanitizer/sanitizer_common/Makefile.in | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libsanitizer/sanitizer_common/Makefile.am b/libsanitizer/sanitizer_common/Makefile.am index 57d7f02..a70dae4 100644 --- a/libsanitizer/sanitizer_common/Makefile.am +++ b/libsanitizer/sanitizer_common/Makefile.am @@ -17,6 +17,7 @@ AM_CXXFLAGS += -DSANITIZER_LIBBACKTRACE -DSANITIZER_CP_DEMANGLE \ endif AM_CCASFLAGS = $(EXTRA_ASFLAGS) ACLOCAL_AMFLAGS = -I m4 +sanitizer_platform_limits_freebsd.lo: AM_CXXFLAGS += -DUSE_SYSTEM_MD5 noinst_LTLIBRARIES = libsanitizer_common.la diff --git a/libsanitizer/sanitizer_common/Makefile.in b/libsanitizer/sanitizer_common/Makefile.in index ce24f6e..2cc116e 100644 --- a/libsanitizer/sanitizer_common/Makefile.in +++ b/libsanitizer/sanitizer_common/Makefile.in @@ -796,6 +796,7 @@ uninstall-am: .PRECIOUS: Makefile +sanitizer_platform_limits_freebsd.lo: AM_CXXFLAGS += -DUSE_SYSTEM_MD5 # Tell versions [3.59,3.63) of GNU make to not export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. |