Commit f540c25 1 parent 2ba5d7e commit f540c25 Copy full SHA for f540c25
File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,15 @@ if (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64")
75
75
set (PRELOAD_LIBRARY_PAGE_SIZE 65536)
76
76
set (VDSO_NAME "LINUX_2.6.39" )
77
77
set (VDSO_SYMBOLS "__kernel_clock_getres; __kernel_rt_sigreturn; __kernel_gettimeofday; __kernel_clock_gettime;" )
78
- else ( )
78
+ elseif ( ${CMAKE_SYSTEM_PROCESSOR} MATCHES x86|x86_64 )
79
79
set (x86ish true )
80
80
set (has_syscallbuf true )
81
81
set (FLAGS_COMMON "${FLAGS_COMMON} -msse2 -D__MMX__ -D__SSE__ -D__SSE2__" )
82
82
set (PRELOAD_LIBRARY_PAGE_SIZE 4096)
83
83
set (VDSO_NAME "LINUX_2.6" )
84
84
set (VDSO_SYMBOLS "__vdso_gettimeofday; __vdso_clock_getres; __vdso_time; __vdso_clock_gettime; __vdso_getcpu;" )
85
+ else ()
86
+ message (FATAL_ERROR "The architecture " ${CMAKE_SYSTEM_PROCESSOR} " is not yet supported" )
85
87
endif ()
86
88
configure_file (src/preload/rr_page.ld.in src/preload/rr_page.ld @ONLY)
87
89
You can’t perform that action at this time.
0 commit comments