Skip to content

Commit 3d9eb2c

Browse files
committed
Add missing ldc2.conf
1 parent 52b52f5 commit 3d9eb2c

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

gettimeofday/dub.sdl

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,4 @@ license "BSL-1.0"
44
targetType "staticLibrary"
55
targetPath "lib"
66
targetName "gettimeofday_d"
7-
dflags "--betterC" "--float-abi=soft" "--relocation-model=static" "--preview=dip1000" platform="ldc"
87
dependency "zephyr-core" path="../zephyr-core"

gettimeofday/ldc2.conf

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
default:
2+
{
3+
switches = [
4+
"--betterC",
5+
"--float-abi=soft",
6+
"--relocation-model=static",
7+
"--defaultlib=",
8+
"--preview=dip1000"
9+
];
10+
post-switches = [
11+
"-I%%ldcbinarypath%%/../import",
12+
];
13+
lib-dirs = [];
14+
}

0 commit comments

Comments
 (0)