Kaydet (Commit) f2416a7f authored tarafından Caolán McNamara's avatar Caolán McNamara

Related: gcc#50255 we now know the bounds of the broken gcc versions

üst 682dd340
......@@ -137,10 +137,12 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
sc/source/ui/vba/vbawsfunction \
))
#32bit Fedora gcc 4.6.1 fails to link sc without this
#TO-DO: make standalone reproducer for this and file
#gcc bug
#http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50255
ifeq ($(strip $(COM)),GCC)
gccthunkBroken := $(shell expr $(gb_CCVER) \>= 40500 \& $(gb_CCVER) \< 40700)
endif
ifeq ($(gccthunkBroken),1)
$(eval $(call gb_Library_add_cxxobjects,vbaobj,\
sc/source/ui/vba/vbasheetobjects \
, $(gb_COMPILERNOOPTFLAGS) $(gb_LinkTarget_EXCEPTIONFLAGS) \
......@@ -150,6 +152,7 @@ $(eval $(call gb_Library_add_exception_objects,vbaobj,\
sc/source/ui/vba/vbasheetobjects \
))
endif
ifeq ($(OS),WNT)
$(eval $(call gb_Library_add_linked_libs,vbaobj,\
advapi32 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment