Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/instrumented_libraries/zlib1g.diff

Issue 315563003: Instrumented libraries: fix & re-enable zlib1g build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/instrumented_libraries/zlib1g.diff
diff --git a/third_party/instrumented_libraries/zlib1g.diff b/third_party/instrumented_libraries/zlib1g.diff
new file mode 100644
index 0000000000000000000000000000000000000000..18a6a3319b0f4df1c8458f61f41ad6532dce68e4
--- /dev/null
+++ b/third_party/instrumented_libraries/zlib1g.diff
@@ -0,0 +1,12 @@
+diff -rupN ./configure ../zlib-1.2.3.4.dfsg-patched/configure
+--- ./configure 2009-12-24 18:09:43.000000000 +0300
++++ ../zlib-1.2.3.4.dfsg-patched/configure 2014-06-03 17:53:45.082074669 +0400
+@@ -72,6 +72,8 @@ cflags=${CFLAGS-"-O3"}
+ # to force the asm version use: CFLAGS="-O3 -DASMV" ./configure
+ case "$cc" in
+ *gcc*) gcc=1 ;;
++ # Use the version script for clang builds as well.
++ *clang*) gcc=1 ;;
+ esac
+
+ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
« no previous file with comments | « third_party/instrumented_libraries/instrumented_libraries.gyp ('k') | third_party/instrumented_libraries/zlib1g.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698