Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index


Hey,

86ba184394094c7c043a505a20a0b1b8977f73d7 has broken gbuild-to-ide as the
-DLIBO_INTERNAL_ONLY does not appear in the DEF part of the "(LC_MESSAGES=C
make cmd="make -npf Makefile.gbuild all" cmd || true)". Do you see a
possibility to get the -DLIBO_INTERNAL_ONLY entry somehow shown up in the
right makefile again or should I unconditionally add it for all source
files in the gbuild-to-ide script. See the attached for my current
temporary fix.

I have looked for half an hour at that commit but have to confess that it
is way above my gbuild knowledge.

Regards,
Markus
From e7154614b3798f6878f2700505a007417d90c45d Mon Sep 17 00:00:00 2001
From: Markus Mohrhard <markus.mohrhard@collabora.co.uk>
Date: Fri, 27 Feb 2015 06:34:42 +0100
Subject: [PATCH] fix gbuild-to-ide script

Change-Id: Iff624d9e31ef5ba7d87b92124c60b02cd577c50b
---
 bin/gbuild-to-ide | 1 +
 1 file changed, 1 insertion(+)

diff --git a/bin/gbuild-to-ide b/bin/gbuild-to-ide
index 3a78d9f..ee2fa99 100755
--- a/bin/gbuild-to-ide
+++ b/bin/gbuild-to-ide
@@ -146,6 +146,7 @@ class GbuildParser:
                 if len(defparts) == 1:
                     defparts.append(None)
                 state.defs[defparts[0]] = defparts[1]
+            state.defs["LIBO_INTERNAL_ONLY"] = None
             return state
         cxxmatch = GbuildParser.cxxpattern.match(line)
         if cxxmatch:
-- 
2.1.4


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.