From 3d56263030297ac2a86d273f7eff390ac309b34a Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Wed, 23 Sep 2015 19:13:55 +0000 Subject: Fix a warning when doing test compiles. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@10953 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/gcc-pass2.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'chapter05/gcc-pass2.xml') diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml index e2df1764d..ec460e482 100644 --- a/chapter05/gcc-pass2.xml +++ b/chapter05/gcc-pass2.xml @@ -181,7 +181,7 @@ RANLIB=$LFS_TGT-ranlib \ functions (compiling and linking) of the new toolchain are working as expected. To perform a sanity check, run the following commands: -echo 'main(){}' > dummy.c +echo 'int main(){}' > dummy.c cc dummy.c readelf -l a.out | grep ': /tools' -- cgit v1.2.3-54-g00ecf