Explorar el Código

fix build on linux

should fix benoitc/barrel#1
pull/94/head
benoitc hace 10 años
padre
commit
550cc7152b
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      c_src/Makefile

+ 1
- 0
c_src/Makefile Ver fichero

@ -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)

Cargando…
Cancelar
Guardar