< prev index next >

make/linux/makefiles/dtrace.make

Print this page

        

@@ -29,12 +29,12 @@
 # Only OPENJDK builds test and support SDT probes currently.
 ifndef OPENJDK
 REASON = "This JDK does not support SDT probes"
 else
 
-# We need a recent GCC for the default
-ifeq "$(shell expr \( $(CC_VER_MAJOR) \>= 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) )" "0"
+# We need a recent GCC for the default (4.4 or later)
+ifeq "$(shell expr \( \( $(CC_VER_MAJOR) = 4 \) \& \( $(CC_VER_MINOR) \>= 4 \) \) \| \( $(CC_VER_MAJOR) \>= 5 \) )" "0"
 REASON = "gcc version is too old"
 else
 
 # But it does have a SystemTap dtrace compatible sys/sdt.h
 ifneq ($(ALT_SDT_H),)
< prev index next >