mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-31 12:52:11 +00:00
12 lines
445 B
Diff
12 lines
445 B
Diff
--- a/build/npm/postinstall.js
|
|
+++ b/build/npm/postinstall.js
|
|
@@ -113,6 +114,8 @@
|
|
}
|
|
if (process.env['CC']) { opts.env['CC'] = 'gcc'; }
|
|
if (process.env['CXX']) { opts.env['CXX'] = 'g++'; }
|
|
+ if (process.env['CPPFLAGS']) { opts.env['CPPFLAGS'] = ''; }
|
|
+ if (process.env['CFLAGS']) { opts.env['CFLAGS'] = ''; }
|
|
if (process.env['CXXFLAGS']) { opts.env['CXXFLAGS'] = ''; }
|
|
if (process.env['LDFLAGS']) { opts.env['LDFLAGS'] = ''; }
|
|
|