Ruby: mjit_config.h Source File

Ruby 3.2.5p208 (2024-07-26 revision 31d0f1a2e7dbfb60731d1f05b868e1d578cda493)

mjit_config.h
1#ifndef RUBY_MJIT_CONFIG_H
2#define RUBY_MJIT_CONFIG_H 1
3
4#ifdef LOAD_RELATIVE
5#define MJIT_HEADER_INSTALL_DIR "/include/ruby-3.2.0/x86_64-linux"
6#else
7#define MJIT_HEADER_INSTALL_DIR "/usr/include/ruby-3.2.0/x86_64-linux"
8#endif
9#define MJIT_MIN_HEADER_NAME "rb_mjit_min_header-3.2.5.h"
10#define MJIT_CC_COMMON "/usr/bin/gcc",
11#define MJIT_CFLAGS MJIT_ARCHFLAG "-w",
12#define MJIT_OPTFLAGS "-O3", "-fno-fast-math",
13#define MJIT_DEBUGFLAGS "-ggdb3",
14#define MJIT_LDSHARED "/usr/bin/gcc", "-shared",
15#define MJIT_DLDFLAGS MJIT_ARCHFLAG "-Wl,--compress-debug-sections=zlib",
16#define MJIT_LIBS "-Wl,-rpath,/usr/lib", "-L/usr/lib", "-lruby",
17#define PRELOADENV "LD_PRELOAD"
18#define MJIT_ARCHFLAG /* no flag */
19
20#endif /* RUBY_MJIT_CONFIG_H */