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.mohrh...@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

_______________________________________________
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice

Reply via email to