Skip to content

Commit 435ec49

Browse files
committed
Bug#19180531: UNABLE TO COMPILE MYSQL-TRUNK WITH DEBUG DUE TO
DTRACE PROBLEMS Merging from 5.6 to trunk.
2 parents 6b12386 + 2f9c789 commit 435ec49

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

cmake/dtrace.cmake

+1-5
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,7 @@ FUNCTION(DTRACE_INSTRUMENT target)
121121
# dtrace on Linux runs gcc and uses flags from environment
122122
SET(CFLAGS_SAVED $ENV{CFLAGS})
123123
STRING(REGEX REPLACE "-W[A-Za-z0-9-]*" "" C_FLAGS "${CMAKE_C_FLAGS}")
124-
GET_PROPERTY(compile_definitions DIRECTORY PROPERTY COMPILE_DEFINITIONS)
125-
FOREACH( def ${compile_definitions} )
126-
SET(COMP_DEFS "${COMP_DEFS} -D${def}")
127-
ENDFOREACH()
128-
SET(ENV{CFLAGS} "${C_FLAGS} ${COMP_DEFS}")
124+
SET(ENV{CFLAGS} ${C_FLAGS})
129125
SET(outfile "${CMAKE_BINARY_DIR}/probes_mysql.o")
130126
# Systemtap object
131127
EXECUTE_PROCESS(

0 commit comments

Comments
 (0)