Leonid Pliushch
e303212ae5
enable on-device builds
...
Partial compatibility for on-device builds.
There is no guarantee that it will be possible to build all available
packages and built packages will have same reliability that cross-compiled
but should solve "self-hosting" problems as much as possible.
2019-08-08 16:58:34 +03:00
Leonid Pliushch
0f298bae8f
build-package.sh: avoid linking with extra/unneeded libraries
2019-07-29 22:49:15 +03:00
Leonid Pliushch
1b2d8259fb
build-package.sh: basic hardening via CFLAGS/LDFLAGS
...
See https://github.com/termux/termux-packages/issues/4107 .
In short:
* Stack protector will be used by default.
* GOT/PLT ELF sections will be read-only.
2019-07-29 22:49:15 +03:00
Leonid Pliushch
6e70277fb3
no more develsplit + provide static libraries as separate package
...
%ci:no-build
2019-07-28 21:17:12 +03:00
Fredrik Fornwall
51c97e3bb5
Always use -Oz optimization level
2019-07-14 20:38:26 +02:00
Tom Yan
0645971354
build-package.sh: export OBJCOPY
2019-06-26 12:14:11 +03:00
its-pointless
1900df549d
avoid using system clang instead of ndk one
2019-06-19 20:26:31 +03:00
its-pointless
6c2c06fd6f
fix arm-cpp properly...
2019-06-19 20:26:31 +03:00
its-pointless
e83b5a2ea8
fix arm cpp
2019-06-19 20:26:31 +03:00
its-pointless
5eada22838
ndk-20 update
2019-06-19 20:26:31 +03:00
Tom Yan
d4d8aaeac9
build-package: fix unwind symbols hiding
...
Apparently because libgcc.a is now a linker script, `--exclude-libs libgcc.a` doesn't seem to do a thing. Also hiding symbols from libunwind.a.
2019-05-14 17:53:00 +03:00
Leonid Pliushch
9dda444a87
new package: libiconv
2019-05-05 21:29:36 +02:00
Tom Yan
5170610f52
zlib: add package
2019-04-14 16:00:23 +03:00
Leonid Pliushch
3d0e516c64
termux_step_setup_toolchain.sh: simplify unneeded headers removal
2019-03-25 17:55:48 +02:00
Leonid Pliushch
9e682ab75f
termux_step_setup_toolchain.sh: move 'rm usr/include/sys/capability.h' to correct place
2019-03-25 17:32:00 +02:00
Fredrik Fornwall
2b4652804f
Remove sys/capability.h from the NDK sysroot
...
The sys/capability.h file will be provided by libcap-dev.
2019-03-24 23:15:44 +01:00
Tom Yan
596c8c85da
Simplify libc++ setup
...
As clang++ in the NDK defaults to libc++ since r17, we no longer
need to fake a libstdc++.so at build time (and omit it from the
libc++ package we ship).
2019-03-11 16:33:12 +08:00
Leonid Pliushch
d450e6af8f
build-package.sh: create dummy libutil.so which links to libc
...
Replace libutil.so with linker script so we don't have to patch
each program that tries to link with libutil.so.
2019-03-10 15:42:58 +02:00
Leonid Pliushch
c508560e40
build-package.sh: enable use of DT_RUNPATH, set minimal API level to 24
2019-03-10 15:41:38 +02:00
Henrik Grimler
63fdeada9b
build-package: mv termux_step_setup_toolchain to scripts/build/
2019-02-27 21:59:08 +02:00