-
Notifications
You must be signed in to change notification settings - Fork 493
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
2 changed files
with
4 additions
and
73 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,73 +1,3 @@ | ||
diff -urN rebase-4.4.1.orig/build.sh rebase-4.4.1/build.sh | ||
--- rebase-4.4.1.orig/build.sh 2014-06-13 22:24:51.315930500 +0100 | ||
+++ rebase-4.4.1/build.sh 2014-06-13 22:25:12.462140000 +0100 | ||
@@ -30,7 +30,9 @@ | ||
Prefix=/mingw | ||
confargs="--with-dash --prefix=`cd $Prefix && pwd -W`" | ||
;; | ||
- MSYS*) confargs="--with-dash --prefix=$Prefix" | ||
+ MSYS*) CXXFLAGS="-static -static-libgcc -static-libstdc++" | ||
+ CFLAGS="-static -static-libgcc" | ||
+ confargs="--prefix=$Prefix" | ||
;; | ||
esac | ||
|
||
diff -urN rebase-4.4.1.orig/build-aux/config.guess rebase-4.4.1/build-aux/config.guess | ||
--- rebase-4.4.1.orig/build-aux/config.guess 2014-06-13 22:24:51.313930400 +0100 | ||
+++ rebase-4.4.1/build-aux/config.guess 2014-06-13 22:25:12.465140200 +0100 | ||
@@ -843,6 +843,9 @@ | ||
amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*) | ||
echo x86_64-unknown-cygwin | ||
exit ;; | ||
+ amd64:MSYS*:*:* | x86_64:MSYS*:*:*) | ||
+ echo x86_64-unknown-msys | ||
+ exit ;; | ||
p*:CYGWIN*:*) | ||
echo powerpcle-unknown-cygwin | ||
exit ;; | ||
diff -urN rebase-4.4.1.orig/configure.ac rebase-4.4.1/configure.ac | ||
--- rebase-4.4.1.orig/configure.ac 2014-06-13 22:24:51.317930600 +0100 | ||
+++ rebase-4.4.1/configure.ac 2014-06-13 22:25:32.231270700 +0100 | ||
@@ -2,7 +2,7 @@ | ||
# configure.ac for rebase | ||
|
||
AC_PREREQ([2.64]) | ||
-AC_INIT([rebase], [4.5.0], [[email protected]]) | ||
+AC_INIT([rebase], [4.5.0], [[email protected]]) | ||
AC_CONFIG_AUX_DIR([build-aux]) | ||
AC_CONFIG_SRCDIR([peflags.c]) | ||
AC_PREFIX_DEFAULT([/usr]) | ||
@@ -28,19 +28,12 @@ | ||
|
||
AC_CHECK_DECLS([cygwin_conv_path], [],[ | ||
case "$host" in | ||
- *cygwin* ) AC_MSG_ERROR([At least cygwin-1.7 is required]) ;; | ||
+ *cygwin* | *msys* ) AC_MSG_ERROR([At least cygwin-1.7 is required]) ;; | ||
esac],dnl | ||
[[#include <sys/cygwin.h>]]) | ||
|
||
-LIBOBJS= | ||
case "$host" in | ||
- *msys* ) AC_LIBOBJ([getopt_long]) | ||
- AC_LIBOBJ([strtoll]) ;; | ||
-esac | ||
-AC_SUBST([LIBOBJS]) | ||
- | ||
-case "$host" in | ||
- *mingw* | *msys* ) DEFAULT_OFFSET_VALUE=0x10000 ;; | ||
+ *mingw* ) DEFAULT_OFFSET_VALUE=0x10000 ;; | ||
*) DEFAULT_OFFSET_VALUE=0 ;; | ||
esac | ||
AC_SUBST(DEFAULT_OFFSET_VALUE) | ||
@@ -48,7 +41,7 @@ | ||
case "$host" in | ||
*msys* ) EXTRA_CFLAG_OVERRIDES= | ||
EXTRA_LDFLAG_OVERRIDES="-static-libgcc" | ||
- EXTRA_CXX_LDFLAG_OVERRIDES= | ||
+ EXTRA_CXX_LDFLAG_OVERRIDES="-static-libstdc++" | ||
;; | ||
*cygwin* ) EXTRA_CFLAG_OVERRIDES= | ||
EXTRA_LDFLAG_OVERRIDES="-static-libgcc" | ||
diff -urN rebase-4.4.1.orig/imagehelper/objectfile.cc rebase-4.4.1/imagehelper/objectfile.cc | ||
--- rebase-4.4.1.orig/imagehelper/objectfile.cc 2014-06-13 22:24:51.322930900 +0100 | ||
+++ rebase-4.4.1/imagehelper/objectfile.cc 2014-06-13 22:25:12.467140300 +0100 | ||
|
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