Restore old -std= flags

Getting rid of them fixed GA Ubuntu, but broke GA MacOS. Let's try a
different strategy.
This commit is contained in:
Justine Tunney 2023-03-28 10:36:25 -07:00
parent 1631298475
commit 1a5ee11377
No known key found for this signature in database
GPG Key ID: BE714B4575D6E328
2 changed files with 6 additions and 2 deletions

View File

@ -30,8 +30,8 @@ endif
# Compile flags
#
CFLAGS = -I. -O3 -DNDEBUG -fPIC
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -fPIC
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
LDFLAGS =
# OS specific

4
mmap.h
View File

@ -1,5 +1,9 @@
#pragma once
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
#include <stddef.h>
#include <stdint.h>
#include <fcntl.h>