Skip to content

Commit 3af40c9

Browse files
committed
build: remove Linux linker script
The linker script was unused at this point. Remove the linker script to simplify the build.
1 parent c0bb0ce commit 3af40c9

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

CoreFoundation/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
if Configuration.current.target.sdk == OSType.Linux:
1717
cf.CFLAGS = '-DDEPLOYMENT_TARGET_LINUX -D_GNU_SOURCE -DCF_CHARACTERSET_DATA_DIR="CharacterSets" '
18-
cf.LDFLAGS = '-Wl,@./linux.ld -Wl,-Bsymbolic '
18+
cf.LDFLAGS = '-Wl,-Bsymbolic '
1919
Configuration.current.requires_pkg_config = True
2020
elif Configuration.current.target.sdk == OSType.FreeBSD:
2121
cf.CFLAGS = '-DDEPLOYMENT_TARGET_FREEBSD -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/curl '

CoreFoundation/linux.ld

Whitespace-only changes.

build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
swift_cflags = ['-DDEPLOYMENT_RUNTIME_SWIFT']
1717
if Configuration.current.target.sdk == OSType.Linux:
1818
foundation.CFLAGS = '-DDEPLOYMENT_TARGET_LINUX -D_GNU_SOURCE -DCF_CHARACTERSET_DATA_DIR="CoreFoundation/CharacterSets"'
19-
foundation.LDFLAGS = '${SWIFT_USE_LINKER} -Wl,@./CoreFoundation/linux.ld -lswiftGlibc -Wl,-Bsymbolic '
19+
foundation.LDFLAGS = '${SWIFT_USE_LINKER} -lswiftGlibc -Wl,-Bsymbolic '
2020
Configuration.current.requires_pkg_config = True
2121
elif Configuration.current.target.sdk == OSType.FreeBSD:
2222
foundation.CFLAGS = '-DDEPLOYMENT_TARGET_FREEBSD -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local/include/curl '

0 commit comments

Comments
 (0)