Check-in [6d0a708452]
Overview
Comment:Added a simple way to pass additional CFLAGS/LDFLAGS/LIBS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 6d0a708452fbcb9c6bfc5d29def69760468264e7
User & Date: rkeene on 2016-05-20 15:52:33
Other Links: manifest | tags
Context
2016-05-20
16:00
Updated to work if "-c 0" is used to disable file descriptor caching check-in: 6b9ca2c468 user: rkeene tags: trunk
15:52
Added a simple way to pass additional CFLAGS/LDFLAGS/LIBS check-in: 6d0a708452 user: rkeene tags: trunk
2016-03-03
04:21
Fixed bugs related to not using C11 atomics check-in: 4ce6697da8 user: rkeene tags: trunk
Changes

Modified Makefile from [debc382dde] to [92864978dd].

1
2
3
4
5
6
7
8
9
10
11
CC = gcc
CFLAGS = -std=gnu11 -Wall -Werror -W -pthread -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE
LDFLAGS = -pthread
LIBS = -lpthread
MIMETYPES = /etc/httpd/mime.types

PREFIX = /usr/local
prefix = $(PREFIX)
bindir = $(prefix)/bin
mandir = $(prefix)/share/man


|
|
|







1
2
3
4
5
6
7
8
9
10
11
CC = gcc
CFLAGS = -std=gnu11 -Wall -Werror -W -pthread -O3 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE $(FILED_EXTRA_CFLAGS)
LDFLAGS = -pthread $(FILED_EXTRA_LDFLAGS)
LIBS = -lpthread $(FILED_EXTRA_LIBS)
MIMETYPES = /etc/httpd/mime.types

PREFIX = /usr/local
prefix = $(PREFIX)
bindir = $(prefix)/bin
mandir = $(prefix)/share/man