Check-in [ee07cc40d0]
Overview
Comment:Better linking to zlib for AppFS build
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: ee07cc40d03f6d82c896f5d3d58be185e15c2f06
User & Date: rkeene on 2017-03-09 02:42:13
Other Links: manifest | tags
Context
2017-03-09
02:43
ChromeOS Release 9 check-in: 21da395d74 user: rkeene tags: trunk
02:42
Better linking to zlib for AppFS build check-in: ee07cc40d0 user: rkeene tags: trunk
02:41
Updated to try more application IDs for CACs check-in: fbed2df898 user: rkeene tags: trunk
Changes

Modified build/appfs/build.sh from [8ef3b61bfc] to [cf79937747].

15
16
17
18
19
20
21

22
23
24
25
26
27
28
29
30
31
		echo "Unknown arch"
		exit 1
		;;
esac

gcc_default_headers_c="$(echo '' | ${CPP:-cpp} -v 2>&1 | sed '/^End of search list/,$ d;0,/search starts here:$/ d' | grep '/gcc/' | sed 's@^ *@-isystem @' | tr $'\n' ' ')"
glibcdir="$(readlink -f /opt/appfs/core.appfs.rkeene.org/glibc/platform/latest)"


./configure \
	--with-pin-command-x='/opt/appfs/rkeene.org/cackey/platform/latest/bin/cackey-ask-pin' \
	--with-pcsc-headers=/opt/appfs/rkeene.org/pcsc-lite/platform/latest/include/PCSC \
	--with-pcsc-libs="-L$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -Wl,-rpath,$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -lpcsclite" \
	CC="${CC:-gcc} -nostdinc ${gcc_default_headers_c} -isystem ${glibcdir}/include -isystem /opt/appfs/core.appfs.rkeene.org/linux-headers/platform/2.6.32.63/include" \
	CPPFLAGS="-I/opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/include" \
	LDFLAGS="-L${glibcdir}/lib -L$(readlink -f /opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/lib) -pthread -Wl,--dynamic-linker,${glibcdir}/lib/ld-linux-${ARCH}.so.2"

make







>







|


15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
		echo "Unknown arch"
		exit 1
		;;
esac

gcc_default_headers_c="$(echo '' | ${CPP:-cpp} -v 2>&1 | sed '/^End of search list/,$ d;0,/search starts here:$/ d' | grep '/gcc/' | sed 's@^ *@-isystem @' | tr $'\n' ' ')"
glibcdir="$(readlink -f /opt/appfs/core.appfs.rkeene.org/glibc/platform/latest)"
zlibdir="$(readlink -f /opt/appfs/core.appfs.rkeene.org/zlib/platform/latest)"

./configure \
	--with-pin-command-x='/opt/appfs/rkeene.org/cackey/platform/latest/bin/cackey-ask-pin' \
	--with-pcsc-headers=/opt/appfs/rkeene.org/pcsc-lite/platform/latest/include/PCSC \
	--with-pcsc-libs="-L$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -Wl,-rpath,$(readlink -f /opt/appfs/rkeene.org/pcsc-lite/platform/latest/lib) -lpcsclite" \
	CC="${CC:-gcc} -nostdinc ${gcc_default_headers_c} -isystem ${glibcdir}/include -isystem /opt/appfs/core.appfs.rkeene.org/linux-headers/platform/2.6.32.63/include" \
	CPPFLAGS="-I/opt/appfs/core.appfs.rkeene.org/zlib/platform/latest/include" \
	LDFLAGS="-L${glibcdir}/lib -Wl,-R,${glibcdir}/lib -L${zlibdir}/lib -Wl,-R,${zlibdir}/lib -pthread -Wl,--dynamic-linker,${glibcdir}/lib/ld-linux-${ARCH}.so.2"

make