ENH: Better symbols for 64 vs 32 bits.
This commit is contained in:
parent
3b6d1365df
commit
59c35ee120
|
@ -103,7 +103,6 @@ include_directories(
|
||||||
# Visit subdirectories
|
# Visit subdirectories
|
||||||
#
|
#
|
||||||
add_subdirectory(sr_linux)
|
add_subdirectory(sr_linux)
|
||||||
# add_subdirectory(sr_unix_nsb) # no needed when USHBIN is ON
|
|
||||||
add_subdirectory(sr_unix_cm)
|
add_subdirectory(sr_unix_cm)
|
||||||
add_subdirectory(sr_unix_gnp)
|
add_subdirectory(sr_unix_gnp)
|
||||||
add_subdirectory(sr_unix)
|
add_subdirectory(sr_unix)
|
||||||
|
@ -115,12 +114,11 @@ add_subdirectory(pro)
|
||||||
#
|
#
|
||||||
# Select architecture dependent directories
|
# Select architecture dependent directories
|
||||||
#
|
#
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 4)
|
if(ARCHITECTURE_IS_32_BITS)
|
||||||
add_subdirectory(sr_i386)
|
add_subdirectory(sr_i386)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(CMAKE_C_SIZEOF_DATA_PTR EQUAL 8)
|
if(ARCHITECTURE_IS_64_BITS)
|
||||||
set(LINUX_64)
|
|
||||||
add_subdirectory(sr_x86_64)
|
add_subdirectory(sr_x86_64)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
|
|
@ -472,12 +472,12 @@ set(GTM_UNIX_SRC
|
||||||
zshow_zcalls.c
|
zshow_zcalls.c
|
||||||
)
|
)
|
||||||
|
|
||||||
if(LINUX_64)
|
if(ARCHITECTURE_IS_64_BITS)
|
||||||
set(GTM_UNIX_SRC
|
set(GTM_UNIX_SRC
|
||||||
${GTM_UNIX_SRC}
|
${GTM_UNIX_SRC}
|
||||||
auto_zlink.c
|
auto_zlink.c
|
||||||
)
|
)
|
||||||
endif(LINUX_64)
|
endif()
|
||||||
|
|
||||||
|
|
||||||
if(NEED_TO_ADD_SOURCES)
|
if(NEED_TO_ADD_SOURCES)
|
||||||
|
|
Loading…
Reference in New Issue