summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2013-07-10 21:01:11 -0500
committerPetr Mladek <pmladek@suse.cz>2013-07-11 13:11:46 +0000
commitd496bcdb770a61400abf4f67baae5103505f8a34 (patch)
tree252fd0a6eff556a4bd17e1dc73e2b103340980a4 /solenv
parent25b4ecbbcf9af9aeea5ca093b138f108de35a353 (diff)
we do not support any platform with bison < 2.0 anymore
Change-Id: Ia2c1c6ed43c6a42fa1a65a22f4c8d68de216706c Reviewed-on: https://gerrit.libreoffice.org/4822 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/platform/com_GCC_class.mk21
1 files changed, 1 insertions, 20 deletions
diff --git a/solenv/gbuild/platform/com_GCC_class.mk b/solenv/gbuild/platform/com_GCC_class.mk
index 54647153a2fe..e16ad037ded2 100644
--- a/solenv/gbuild/platform/com_GCC_class.mk
+++ b/solenv/gbuild/platform/com_GCC_class.mk
@@ -233,33 +233,14 @@ endef
# YaccTarget class
-ifeq ($(ANCIENT_BISON),YES)
-#
-# There are ancient versions of bison out there, which do not handle
-# well .cxx extensions, nor do they support --defines=<file>. The
-# result is that the header is named <foo>.cxx.h instead of <foo>.hxx
-# so we queue a mv to rename the header accordingly.
-# One example is XCode versions 2.x, which are used on OSX ppc
-# machines.
-#
define gb_YaccTarget__command
$(call gb_Output_announce,$(2),$(true),YAC,3)
$(call gb_Helper_abbreviate_dirs,\
mkdir -p $(dir $(3)) && \
- $(gb_YACC) $(T_YACCFLAGS) -d -o $(5) $(1) && mv $(5).h $(4) && touch $(3) )
+ $(gb_YACC) $(T_YACCFLAGS) -v --defines=$(4) -o $(5) $(1) && touch $(3) )
endef
-else
-define gb_YaccTarget__command
-$(call gb_Output_announce,$(2),$(true),YAC,3)
-$(call gb_Helper_abbreviate_dirs,\
- mkdir -p $(dir $(3)) && \
- $(gb_YACC) $(T_YACCFLAGS) --defines=$(4) -o $(5) $(1) && touch $(3) )
-
-endef
-endif
-
# ExternalProject class
gb_ExternalProject_use_autoconf :=