Skip to content

Commit 1a5ee11

Browse files
committed
Restore old -std= flags
Getting rid of them fixed GA Ubuntu, but broke GA MacOS. Let's try a different strategy.
1 parent 1631298 commit 1a5ee11

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ endif
3030
# Compile flags
3131
#
3232

33-
CFLAGS = -I. -O3 -DNDEBUG -fPIC
34-
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -fPIC
33+
CFLAGS = -I. -O3 -DNDEBUG -std=c11 -fPIC
34+
CXXFLAGS = -I. -I./examples -O3 -DNDEBUG -std=c++11 -fPIC
3535
LDFLAGS =
3636

3737
# OS specific

mmap.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#pragma once
22

3+
#ifndef _GNU_SOURCE
4+
#define _GNU_SOURCE
5+
#endif
6+
37
#include <stddef.h>
48
#include <stdint.h>
59
#include <fcntl.h>

0 commit comments

Comments
 (0)