From 20fc8716df00bd272d0e26d380bc1bca0dad38d7 Mon Sep 17 00:00:00 2001 From: Max Moroz Date: Wed, 6 Sep 2017 16:06:59 -0700 Subject: [PATCH] [tinyxml2] Fix build script and other minor fixes. --- projects/tinyxml2/Dockerfile | 2 +- projects/tinyxml2/build.sh | 7 ++++--- projects/tinyxml2/project.yaml | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/projects/tinyxml2/Dockerfile b/projects/tinyxml2/Dockerfile index a20b1d001..ee6f5b6b5 100644 --- a/projects/tinyxml2/Dockerfile +++ b/projects/tinyxml2/Dockerfile @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. +# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/projects/tinyxml2/build.sh b/projects/tinyxml2/build.sh index 9505a2f7f..f49c87a54 100644 --- a/projects/tinyxml2/build.sh +++ b/projects/tinyxml2/build.sh @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. +# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,8 +14,9 @@ # ################################################################################ make -j$(nproc) clean -make CXXFLAGS='' -j$(nproc) all +make -j$(nproc) all -$CXX $CXXFLAGS -std=c++11 -Iinclude/ $SRC/xmltest.cpp -o $OUT/xmltest -lFuzzingEngine $SRC/tinyxml2/libtinyxml2.a +$CXX $CXXFLAGS -std=c++11 -Iinclude/ $SRC/xmltest.cpp -o $OUT/xmltest \ + -lFuzzingEngine $SRC/tinyxml2/libtinyxml2.a cp $SRC/*.dict $SRC/*.options $OUT/ diff --git a/projects/tinyxml2/project.yaml b/projects/tinyxml2/project.yaml index b4c23da02..cba496b1c 100644 --- a/projects/tinyxml2/project.yaml +++ b/projects/tinyxml2/project.yaml @@ -1,4 +1,4 @@ -# Copyright 2016 Google Inc. +# Copyright 2017 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License.