1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/pcre/hotfix-no_arg.patch.blackfin
3 # Copyright (C) 2021 The T2 SDE Project
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- pcre-8.45/pcrecpp.cc.vanilla 2021-10-08 14:36:03.879460574 +0200
15 +++ pcre-8.45/pcrecpp.cc 2021-10-08 14:36:16.814460058 +0200
17 // inclusive test if we ever needed it. (Note that not only the
18 // __attribute__ syntax, but also __USER_LABEL_PREFIX__, are
20 -#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) \
21 +#if defined(__GNUC__) && __GNUC__ >= 3 && defined(__ELF__) && !defined(__FDPIC__) \
22 && !defined(__INTEL_COMPILER) && !defined(__LCC__)
23 # define ULP_AS_STRING(x) ULP_AS_STRING_INTERNAL(x)
24 # define ULP_AS_STRING_INTERNAL(x) #x