mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-15 14:15:54 -06:00
parent
469162421b
commit
32be6b90f5
2 changed files with 12 additions and 1 deletions
|
|
@ -32,6 +32,12 @@ endif
|
|||
# Flags passed to compiler.
|
||||
CFLAGS += -g -O3 -Wall -Wextra -pedantic -ansi
|
||||
|
||||
# Fix for modified zconf.h on Gentoo.
|
||||
ifneq (,$(findstring gentoo, $(shell uname -sr)))
|
||||
CFLAGS += -DOF=_Z_OF
|
||||
endif
|
||||
|
||||
|
||||
# Ignore icc remarks about inlining limits.
|
||||
ifeq ($(CC),icc)
|
||||
CFLAGS +=-diag-disable=11074,11076
|
||||
|
|
|
|||
7
third_party/minizip/Makefile
vendored
7
third_party/minizip/Makefile
vendored
|
|
@ -9,7 +9,7 @@ ifdef V
|
|||
Q=
|
||||
endif
|
||||
|
||||
UNAME := $(shell uname)
|
||||
UNAME := $(shell uname -sr)
|
||||
|
||||
# Check for MinGW/MinGW64/Cygwin environments.
|
||||
ifneq (,$(findstring MINGW, $(UNAME)))
|
||||
|
|
@ -32,6 +32,11 @@ CC = gcc
|
|||
CFLAGS += -DUSE_FILE32API
|
||||
endif
|
||||
|
||||
# Fix for modified zconf.h on Gentoo.
|
||||
ifneq (,$(findstring gentoo, $(UNAME)))
|
||||
CFLAGS += -DOF=_Z_OF
|
||||
endif
|
||||
|
||||
all: ioapi.o zip.o ioapi.so zip.so
|
||||
|
||||
%.o : %.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue