From 9436a026e2e23d207fbdcb9e8bc9b076e3573700 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 22 Jan 2011 22:37:50 +0100 Subject: activate GCC cflags check, cleanup FLAGS stuff in OpenADK. * remove TCFLAGS/TLDFLAGS/TCPPFLAGS and only use TARGET_CFLAGS/TARGET_LDFLAGS/TARGET_CPPFLAGS, ... * activate GCC_HONOUR_COPTS and fix all packages to honour CFLAGS * use CC_FOR_BUILD, CFLAGS_FOR_BUILD, ... for all build compilation, remove HOST* variants * introduce KERNEL_MODULE_FLAGS for external kernel modules * mark rpm package as broken, mark syslinux for native builds only, mark libhugetlb for eglibc/glibc only usage --- package/picocom/patches/patch-Makefile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 package/picocom/patches/patch-Makefile (limited to 'package/picocom/patches') diff --git a/package/picocom/patches/patch-Makefile b/package/picocom/patches/patch-Makefile new file mode 100644 index 000000000..621e7c211 --- /dev/null +++ b/package/picocom/patches/patch-Makefile @@ -0,0 +1,18 @@ +--- picocom-1.4.orig/Makefile 2004-08-13 13:18:38.000000000 +0200 ++++ picocom-1.4/Makefile 2011-01-21 21:02:02.096749132 +0100 +@@ -2,11 +2,12 @@ + VERSION=1.4 + + # CC = gcc +-CPPFLAGS=-DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" +-CFLAGS = -Wall -g ++CPPFLAGS ?= ++CPPFLAGS += -DVERSION_STR=\"$(VERSION)\" -DUUCP_LOCK_DIR=\"/var/lock\" ++CFLAGS ?= -Wall -g + + # LD = gcc +-LDFLAGS = -g ++LDFLAGS ?= -g + LDLIBS = + + picocom : picocom.o term.o -- cgit v1.2.3