mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
tools: do not sanitize build tools. It's OK if they leak a bit.
Especially as our code does not actually leak as far as we can see. It looks like librsvg might not play well with -fsanitize=address (possibly having real leaks or false positives).
This commit is contained in:
parent
e0f070a649
commit
0b75fbd91c
1 changed files with 3 additions and 0 deletions
|
@ -64,8 +64,11 @@ if ENABLE_VECTOR_ICONS
|
|||
endif
|
||||
|
||||
# Build tools which must be built for the build platform.
|
||||
# Note: librsvg does not work well with at least -fsanitize=address so we
|
||||
# disable all sanitizers which might have been added as CFLAGS.
|
||||
colorsvg2png$(BUILD_EXEEXT): colorsvg2png.c
|
||||
$(CC_FOR_BUILD) -o $@ $< $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) \
|
||||
-fno-sanitize=all \
|
||||
$(NATIVE_GLIB_LIBS) $(NATIVE_GLIB_CFLAGS) $(NATIVE_SVG_LIBS) $(NATIVE_SVG_CFLAGS)
|
||||
|
||||
all-local: colorsvg2png$(BUILD_EXEEXT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue