From 3b634ba64ea6645e466d6092d60f8b9a03e419b8 Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Wed, 16 Apr 2014 12:53:26 -0400 Subject: [PATCH] Instrument with -fsanitize=undefined --- java-1.8.0-openjdk.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/java-1.8.0-openjdk.spec b/java-1.8.0-openjdk.spec index 6156abd..3765996 100644 --- a/java-1.8.0-openjdk.spec +++ b/java-1.8.0-openjdk.spec @@ -517,8 +517,8 @@ bash ../../configure \ --with-lcms=system \ --with-stdc++lib=dynamic \ --with-num-cores="$NUM_PROC" \ - --with-extra-cflags="-fsanitize=address -fsanitize=undefined" \ - --with-extra-cxxflags="-fsanitize=address -fsanitize=undefined" \ + --with-extra-cflags="-fsanitize=undefined" \ + --with-extra-cxxflags="-fsanitize=undefined" # The combination of FULL_DEBUG_SYMBOLS=0 and ALT_OBJCOPY=/does_not_exist # disables FDS for all build configs and reverts to pre-FDS make logic.