Compare commits
2 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
50f7ca358e | ||
|
|
cc5d688618 |
2 changed files with 0 additions and 17 deletions
13
cmake.patch
13
cmake.patch
|
|
@ -10,16 +10,3 @@ index 9d14f6b70f..491f023493 100644
|
|||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
|
||||
--- cmake.orig/Source/cmake.cxx
|
||||
+++ cmake/Source/cmake.cxx
|
||||
@@ -131,7 +131,9 @@
|
||||
// NOTE: the __linux__ macro is predefined on Android host too, but
|
||||
// main CMakeLists.txt filters out this generator by host name.
|
||||
#if (defined(__linux__) && !defined(__ANDROID__)) || defined(_WIN32)
|
||||
+#if !defined(CMAKE_BOOTSTRAP)
|
||||
# include "cmGlobalGhsMultiGenerator.h"
|
||||
+#endif
|
||||
#endif
|
||||
|
||||
#if defined(__APPLE__)
|
||||
|
|
|
|||
|
|
@ -361,10 +361,6 @@ cp %{SOURCE100} swift/utils/fedora-presets.ini
|
|||
%build
|
||||
export VERBOSE=1
|
||||
|
||||
# Workaround for GCC 16 ICE in cmath / riemann_zeta
|
||||
export CFLAGS="-O2 -g -fno-builtin-logf"
|
||||
export CXXFLAGS="-O2 -g -fno-builtin-logf"
|
||||
|
||||
# Four-stage bootstrap to build Swift from scratch without external Swift compiler
|
||||
# Stage 0: Build minimal Swift toolchain from C++ using gold linker
|
||||
# Produces: Swift compiler with C++ legacy driver (no SwiftPM, no swift-driver)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue