Skip to content

Commit 4f32a54

Browse files
committed
Use the linker form of setting sysroot.
1 parent 220cdf2 commit 4f32a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ CFLAGS-$(target)=\
229229
--sysroot=$$(SDK_ROOT-$(target)) \
230230
$$(CFLAGS-$(os))
231231
LDFLAGS-$(target)=\
232-
--sysroot=$$(SDK_ROOT-$(target)) \
232+
-isysroot $$(SDK_ROOT-$(target)) \
233233
$$(CFLAGS-$(os))
234234

235235
###########################################################################

0 commit comments

Comments
 (0)