-
Notifications
You must be signed in to change notification settings - Fork 488
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
691 additions
and
1,586 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 7 additions & 8 deletions
15
libtool/0006-Fix-strict-ansi-vs-posix.patch → libtool/0003-Fix-STRICT_ANSI-vs-POSIX.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,21 @@ | ||
[PATCH 6/6] Fix STRICT_ANSI vs POSIX | ||
[PATCH] Fix STRICT_ANSI vs POSIX | ||
|
||
* build-aux/ltmain.in (func_mode_link): Also check for _POSIX | ||
as well as __STRICT_ANSI__ to avoid re-definitions. | ||
--- | ||
build-aux/ltmain.in | 4 +++- | ||
1 files changed, 1 insertions(+), 1 deletions(-) | ||
build-aux/ltmain.in | 2 +- | ||
1 file changed, 1 insertion(+), 1 deletion(-) | ||
|
||
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in | ||
index af46cb8..244bb5b 100644 | ||
index 3e2adfb1..5f9af8c2 100644 | ||
--- a/build-aux/ltmain.in | ||
+++ b/build-aux/ltmain.in | ||
@@ -3382,7 +3382,7 @@ | ||
@@ -3670,7 +3670,7 @@ EOF | ||
|
||
/* declarations of non-ANSI functions */ | ||
#if defined __MINGW32__ | ||
-# ifdef __STRICT_ANSI__ | ||
+# if defined(__STRICT_ANSI__) && !defined(__MINGW64_VERSION_MAJOR) || defined(_POSIX_) | ||
int _putenv (const char *); | ||
_CRTIMP int __cdecl _putenv (const char *); | ||
# endif | ||
#elif defined __CYGWIN__ | ||
-- | ||
1.7.0.2.msysgit.0 |
27 changes: 0 additions & 27 deletions
27
libtool/0003-Pass-various-runtime-library-flags-to-GCC.mingw.patch
This file was deleted.
Oops, something went wrong.
16 changes: 11 additions & 5 deletions
16
...lly-linking-Flang-support-libraries.patch → ...linking-Flang-support-libraries-whe.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[PATCH] libtool: include process.h | ||
|
||
--- | ||
build-aux/ltmain.in | 1 + | ||
1 file changed, 1 insertion(+) | ||
|
||
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in | ||
index 97810d08..e3c77f29 100644 | ||
--- a/build-aux/ltmain.in | ||
+++ b/build-aux/ltmain.in | ||
@@ -3654,6 +3654,7 @@ EOF | ||
# include <unistd.h> | ||
# include <stdint.h> | ||
# ifdef __CYGWIN__ | ||
+# include <process.h> | ||
# include <io.h> | ||
# endif | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[PATCH] Pass various flags to GCC | ||
|
||
* build-aux/ltmain.in (func_mode_link): Pass various flags to GCC. | ||
|
||
See https://gcc.gnu.org/onlinedocs/gcc/Link-Options.html#DOCF1 | ||
--- | ||
build-aux/ltmain.in | 2 ++ | ||
1 file changed, 2 insertions(+) | ||
|
||
diff --git a/build-aux/ltmain.in b/build-aux/ltmain.in | ||
index e3c77f29..1da9d35d 100644 | ||
--- a/build-aux/ltmain.in | ||
+++ b/build-aux/ltmain.in | ||
@@ -5461,6 +5461,7 @@ func_mode_link () | ||
# -no-canonical-prefixes Do not expand any symbolic links | ||
# -fuse-ld=* Linker select flags for GCC | ||
# -static-* direct GCC to link specific libraries statically | ||
+ # -shared-* direct GCC to link specific libraries dynamically | ||
# -fcilkplus Cilk Plus language extension features for C/C++ | ||
# -rtlib=* select c runtime lib with clang | ||
# --unwindlib=* select unwinder library with clang | ||
@@ -5474,6 +5475,7 @@ func_mode_link () | ||
-specs=*|-fsanitize=*|-fno-sanitize*|-shared-libsan|-static-libsan| \ | ||
-ffile-prefix-map=*|-fdebug-prefix-map=*|-fmacro-prefix-map=*|-fprofile-prefix-map=*| \ | ||
-fdiagnostics-color*|-frecord-gcc-switches| \ | ||
+ -ffast-math|-fgnu-tm|-ftree-parallelize-loops=*|-funsafe-math-optimizations|-fvtable-verify*|-shared-*| \ | ||
-fuse-ld=*|-static-*|-fcilkplus|-Wa,*|-Werror|-Werror=*) | ||
func_quote_arg pretty "$arg" | ||
arg=$func_quote_arg_result |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.