Skip to content

Commit 28b6b67

Browse files
authored
Update extconf.rb
Fix build, added cflags need padding
1 parent ab0470b commit 28b6b67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/zstdruby/extconf.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def ext_export_filename
2626
name
2727
end
2828

29-
$CFLAGS += '-I. -O3 -std=c99 -DZSTD_STATIC_LINKING_ONLY -DZSTD_MULTITHREAD -pthread -DDEBUGLEVEL=0 -fvisibility=hidden -DZSTDLIB_VISIBLE=\'__attribute__((visibility("hidden")))\' -DZSTDLIB_HIDDEN=\'__attribute__((visibility("hidden")))\''
29+
$CFLAGS += ' -I. -O3 -std=c99 -DZSTD_STATIC_LINKING_ONLY -DZSTD_MULTITHREAD -pthread -DDEBUGLEVEL=0 -fvisibility=hidden -DZSTDLIB_VISIBLE=\'__attribute__((visibility("hidden")))\' -DZSTDLIB_HIDDEN=\'__attribute__((visibility("hidden")))\''
3030
$CPPFLAGS += " -fdeclspec" if CONFIG['CXX'] =~ /clang/
3131

3232
# macOS specific: Use exported_symbols_list to control symbol visibility

0 commit comments

Comments
 (0)