board/csky: fixup gdb instructions in readme.txt
[buildroot-gz.git] / package / cups / 0002-Do-not-use-genstrings.patch
blob325483ea8fdc7d2c0ae7dd37f231ba89c51e7ea3
1 From 193c8d8c55a3478ca5c9e161ce581e5794098c6d Mon Sep 17 00:00:00 2001
2 From: Olivier Schonken <olivier.schonken@gmail.com>
3 Date: Thu, 21 Jan 2016 23:04:49 +0100
4 Subject: [PATCH] Do not use genstrings
6 Using cross compiled genstrings while cross-compiling will break
7 compilation. Genstrings is still compiled because some power users
8 might want to do ppd compilation on their target machine, and for that
9 they would need to use the native compiled genstrings binary, to
10 generate a sample.c file for their target
12 Signed-off-by: Olivier Schonken <olivier.schonken@gmail.com>
13 [Thomas: completely remove call to genstrings rather than commenting
14 it, remove useless and potentially confusing 'echo' before the
15 genstrings call.]
16 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
17 ---
18 ppdc/Makefile | 2 --
19 1 file changed, 2 deletions(-)
21 diff --git a/ppdc/Makefile b/ppdc/Makefile
22 index 68bf6b2..d57a0c9 100644
23 --- a/ppdc/Makefile
24 +++ b/ppdc/Makefile
25 @@ -242,8 +242,6 @@ genstrings: genstrings.o libcupsppdc.a ../cups/$(LIBCUPSSTATIC) \
26 $(CXX) $(ARCHFLAGS) $(LDFLAGS) -o genstrings genstrings.o \
27 libcupsppdc.a ../cups/$(LIBCUPSSTATIC) $(LIBGSSAPI) $(SSLLIBS) \
28 $(DNSSDLIBS) $(COMMONLIBS) $(LIBZ)
29 - echo Generating localization strings...
30 - ./genstrings >sample.c
34 --
35 2.6.4