Skip to content

Commit 344d895

Browse files
committed
minimum binary
1 parent 159a86f commit 344d895

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

pthread/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ ExternalProject_Add(
3131
dub
3232
build
3333
-f
34-
-b debug
34+
-b release
3535
--compiler=ldc2
3636
--arch=${ldc_target}
3737
INSTALL_COMMAND ""

pthread/ldc2.conf

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
default:
22
{
33
switches = [
4+
"-Os",
45
"--betterC",
56
"--float-abi=soft",
67
"--relocation-model=static",

pthread/prj.conf

-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
# General config
22
CONFIG_NEWLIB_LIBC=y
33
CONFIG_POSIX_API=y
4-
CONFIG_LOG=y
5-
CONFIG_LOG_MODE_MINIMAL=y
64
CONFIG_MAIN_STACK_SIZE=2560

0 commit comments

Comments
 (0)