package/libxslt: fix static build
[buildroot-gz.git] / package / tstools / 0001-build-get-along-with-buildroot.patch
blob1e7a748262d9b99b734092d317ab434c727e3cb2
1 From 44f80bce0914d4d9c5e7486c7cdb521ba637b324 Mon Sep 17 00:00:00 2001
2 From: Tzu-Jung Lee <tjlee@ambarella.com>
3 Date: Fri, 19 Jul 2013 22:45:18 +0800
4 Subject: [PATCH] build: get along with buildroot
6 Signed-off-by: Tzu-Jung Lee <tjlee@ambarella.com>
7 ---
8 Makefile | 12 ++++++------
9 1 file changed, 6 insertions(+), 6 deletions(-)
11 diff --git a/Makefile b/Makefile
12 index 2c3568e..98bb994 100644
13 --- a/Makefile
14 +++ b/Makefile
15 @@ -34,12 +34,6 @@ SHELL = /bin/sh
16 .SUFFIXES:
17 .SUFFIXES: .c .o
19 -ifdef CROSS_COMPILE
20 -CC = $(CROSS_COMPILE)gcc
21 -else
22 -CC = gcc
23 -endif
25 # Use WARN=1 periodically to get too many warnings...
26 ifdef WARN
27 WARNING_FLAGS = -Wall -W -Wfloat-equal -Wundef -Wshadow -Wpointer-arith -Wcast-qual -Wconversion -Wmissing-prototypes -Wmissing-declarations -Wunreachable-code -Winline
28 @@ -452,3 +446,9 @@ test_lists: $(BINDIR)/test_nal_unit_list $(BINDIR)/test_es_unit_list
29 @echo +++ Testing ES unit lists
30 $(BINDIR)/test_es_unit_list
31 @echo +++ Test succeeded
33 +.PHONY: install
34 +install:
35 + @for i in $(PROGS); do \
36 + cp -f $$i $(DESTDIR)/usr/bin/; \
37 + done
38 --
39 1.8.3.2