ngs-lang / ngs

Next Generation Shell (NGS)
https://ngs-lang.org/
GNU General Public License v3.0
1.41k stars 43 forks source link

Add yum-based Linux distros builds (GH actions) #507

Closed ilyash-b closed 2 years ago

ilyash-b commented 2 years ago
organom commented 2 years ago

Implemented with:

Code implemented on branch 507-improve-gh-actions

ilyash commented 2 years ago

Adding -D_BSD_SOURCE should help. File: /CMakeLists.txt Line: add_definitions(-D_XOPEN_SOURCE=700 -D_DARWIN_C_SOURCE=1 -D_DEFAULT_SOURCE=1) Place: just before ), don't forget space before the new definition

Source (man mmap):

Certain flags constants are defined only if suitable feature test macros are defined (possibly by default): _DEFAULT_SOURCE with glibc 2.19 or later; or _BSD_SOURCE or _SVID_SOURCE in glibc 2.19 and earlier.

ilyash-b commented 2 years ago

In dev