We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 74abd70 commit 463f865Copy full SHA for 463f865
gettimeofday/CMakeLists.txt
@@ -7,10 +7,10 @@ project(ldc_gettimeofday)
7
target_sources(app PRIVATE src/main.c)
8
9
if(${ARCH} STREQUAL "posix" OR ${ARCH} STREQUAL "x86")
10
- set(ldc_target i686-unknown-linux-musl)
+ set(ldc_target i686-unknown-none-newlibeabi)
11
elseif(${ARCH} STREQUAL "arm")
12
if(CONFIG_CPU_CORTEX_M3)
13
- set(ldc_target thumbv7em-none-linux-musleabi)
+ set(ldc_target thumbv7em-unknown-none-newlibeabi)
14
else()
15
message(FATAL_ERROR "ARCH ${ARCH} not supported")
16
endif()
@@ -32,6 +32,7 @@ ExternalProject_Add(
32
build
33
-f
34
-b debug
35
+ --compiler=$ENV{HOME}/dev/install-ldc/bin/ldc2
36
--arch=${ldc_target}
37
INSTALL_COMMAND ""
38
BUILD_BYPRODUCTS ${ldc_src_dir}/lib/libgettimeofday_d.a
0 commit comments