Skip to content

Commit a7f8f4b

Browse files
committed
ignore: init
build: add cc and ld flags
1 parent 4687192 commit a7f8f4b

File tree

2 files changed

+68
-0
lines changed

2 files changed

+68
-0
lines changed

.gitignore

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# Packages
2+
*.gz
3+
*.bz2
4+
*.xz
5+
*.7z
6+
*.tar
7+
8+
# Source folders
9+
nginx/*
10+
openssl-*/*
11+
libressl-*/*
12+
pcre-*/*
13+
zlib-*/*
14+
15+
# Prerequisites
16+
*.d
17+
18+
# Object files
19+
*.o
20+
*.ko
21+
*.obj
22+
*.elf
23+
24+
# Linker output
25+
*.ilk
26+
*.map
27+
*.exp
28+
29+
# Precompiled Headers
30+
*.gch
31+
*.pch
32+
33+
# Libraries
34+
*.lib
35+
*.a
36+
*.la
37+
*.lo
38+
39+
# Shared objects (inc. Windows DLLs)
40+
*.dll
41+
*.so
42+
*.so.*
43+
*.dylib
44+
45+
# Executables
46+
*.exe
47+
*.out
48+
*.app
49+
*.i*86
50+
*.x86_64
51+
*.hex
52+
53+
# Debug files
54+
*.dSYM/
55+
*.su
56+
*.idb
57+
*.pdb
58+
59+
# Kernel Module Compile Results
60+
*.mod*
61+
*.cmd
62+
.tmp_versions/
63+
modules.order
64+
Module.symvers
65+
Mkfile.old
66+
dkms.conf

nginx-build-msys2.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ configure_args=(
7171
--with-http_ssl_module \
7272
--with-mail_ssl_module \
7373
--with-stream_ssl_module \
74+
--with-cc-opt='-O2 -pipe -Wall' \
75+
--with-ld-opt='-Wl,--gc-sections,--build-id=none' \
7476
--prefix=
7577
)
7678

0 commit comments

Comments
 (0)