Browse Source

fix build on linux

should fix benoitc/barrel#1
pull/94/head
benoitc 10 years ago
parent
commit
550cc7152b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      c_src/Makefile

+ 1
- 0
c_src/Makefile View File

@ -24,6 +24,7 @@ else ifeq ($(UNAME_SYS), Linux)
CC ?= gcc
CFLAGS ?= -O3 -std=c99 -finline-functions -Wall -Wmissing-prototypes
CXXFLAGS ?= -O3 -finline-functions -Wall
LDFLAGS ?= -lstdc++
endif
CFLAGS += -fPIC -I$(ERTS_INCLUDE_DIR) -I$(ERL_INTERFACE_INCLUDE_DIR)

Loading…
Cancel
Save