spack/var/spack/repos/builtin/packages/argp-standalone/argp-fmtstream.h.patch
Geoffrey Oxberry d6a43f180b argp-standalone@1.3: new package (#7014)
Adds a package for the standalone version of the argp argument parsing
interface from glibc for unix-style command options.
2018-01-23 22:49:17 +01:00

11 lines
423 B
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- argp-fmtstream.h.orig 2003-12-11 09:37:05.000000000 +0100
+++ argp-fmtstream.h 2011-08-12 11:56:43.000000000 +0200
@@ -192,7 +192,7 @@
extern int _argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
extern int __argp_fmtstream_ensure (argp_fmtstream_t __fs, size_t __amount);
-#ifdef __OPTIMIZE__
+#if defined(__OPTIMIZE__) && !defined(__clang__)
/* Inline versions of above routines. */
#if !_LIBC