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 --- prologue/hostreqs.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prologue/hostreqs.xml') diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml index 9e6fbc9be..f77d88105 100644 --- a/prologue/hostreqs.xml +++ b/prologue/hostreqs.xml @@ -204,7 +204,7 @@ tar --version | head -n1 makeinfo --version | head -n1 xz --version | head -n1 -echo 'main(){}' > dummy.c && g++ -o dummy dummy.c +echo 'int main(){}' > dummy.c && g++ -o dummy dummy.c if [ -x dummy ] then echo "g++ compilation OK"; else echo "g++ compilation failed"; fi -- cgit v1.2.3-54-g00ecf