pkgsrc-wip/chromium/patches/patch-third__party_pdfium_B...

14 lines
381 B
Plaintext

$NetBSD$
--- third_party/pdfium/BUILD.gn.orig 2020-07-15 19:01:38.000000000 +0000
+++ third_party/pdfium/BUILD.gn
@@ -86,7 +86,7 @@ config("pdfium_core_config") {
"//build/config/compiler:noshadowing",
]
defines = []
- if (is_linux) {
+ if (is_linux || is_bsd) {
if (current_cpu == "x64") {
defines += [ "_FX_CPU_=_FX_X64_" ]
cflags += [ "-fPIC" ]