summaryrefslogtreecommitdiffstats
path: root/hl
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2015-09-09 21:52:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2015-09-09 21:52:50 (GMT)
commit1dc01a33b277bd48e6ac2d829d0f4f870cee83aa (patch)
tree33cb0bf05c76c7b4423d6d361c2e0aa89abbe636 /hl
parent531eb2b0502604fa099767de561a9f251b1f524e (diff)
downloadhdf5-1dc01a33b277bd48e6ac2d829d0f4f870cee83aa.zip
hdf5-1dc01a33b277bd48e6ac2d829d0f4f870cee83aa.tar.gz
hdf5-1dc01a33b277bd48e6ac2d829d0f4f870cee83aa.tar.bz2
[svn-r27729] add extra flags to the bison and flex command lines
Diffstat (limited to 'hl')
-rw-r--r--hl/src/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/hl/src/CMakeLists.txt b/hl/src/CMakeLists.txt
index 9603e69..8d1a37f 100644
--- a/hl/src/CMakeLists.txt
+++ b/hl/src/CMakeLists.txt
@@ -6,11 +6,11 @@ if (HDF5_GENERATE_HEADERS)
if (BISON_FOUND)
find_package (FLEX)
if (FLEX_FOUND)
- BISON_TARGET (H5LT_PARSER H5LTparse.y ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c COMPILE_FLAGS -d)
+ BISON_TARGET (H5LT_PARSER H5LTparse.y ${CMAKE_CURRENT_BINARY_DIR}/H5LTparse.c COMPILE_FLAGS "-d -pH5LTyy")
if (WIN32)
- FLEX_TARGET (H5LT_SCANNER H5LTanalyze.l ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c COMPILE_FLAGS --wincompat)
+ FLEX_TARGET (H5LT_SCANNER H5LTanalyze.l ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c COMPILE_FLAGS "--wincompat --nounistd -PH5LTyy")
else (WIN32)
- FLEX_TARGET (H5LT_SCANNER H5LTanalyze.l ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c)
+ FLEX_TARGET (H5LT_SCANNER H5LTanalyze.l ${CMAKE_CURRENT_BINARY_DIR}/H5LTanalyze.c COMPILE_FLAGS "--nounistd -PH5LTyy")
endif (WIN32)
ADD_FLEX_BISON_DEPENDENCY(H5LT_SCANNER H5LT_PARSER)