summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/ct-ng/files/ct-ng-kconfig-respect-flags.patch')
-rw-r--r--sys-devel/ct-ng/files/ct-ng-kconfig-respect-flags.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-devel/ct-ng/files/ct-ng-kconfig-respect-flags.patch b/sys-devel/ct-ng/files/ct-ng-kconfig-respect-flags.patch
new file mode 100644
index 000000000000..e6b48142a6df
--- /dev/null
+++ b/sys-devel/ct-ng/files/ct-ng-kconfig-respect-flags.patch
@@ -0,0 +1,14 @@
+diff -Naur crosstool-ng-1.15.3.orig//kconfig/Makefile crosstool-ng-1.15.3/kconfig/Makefile
+--- crosstool-ng-1.15.3.orig//kconfig/Makefile 2012-07-17 16:39:55.000000000 -0400
++++ crosstool-ng-1.15.3/kconfig/Makefile 2012-08-07 12:06:59.000000000 -0400
+@@ -6,8 +6,8 @@
+ @true # Just be silent, you fscking son of a fscking beach...
+
+ # Build flags
+-CFLAGS = -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(VERSION)\""
+-LDFLAGS =
++CFLAGS += -DCONFIG_=\"CT_\" -DPACKAGE="\"crosstool-NG $(VERSION)\""
++#LDFLAGS =
+
+ # Compiler flags to use gettext
+ ifeq ($(gettext),)