Commit 5d970ad
committed
fix(ci): fix nmap compilation - remove CFLAGS override that breaks build
Passing CFLAGS="-Os" on the make command line overrides the configure-
generated CFLAGS entirely, dropping -DHAVE_NETINET_IN_H and related
defines. This causes nbase_misc.c to fail with 'AF_INET undeclared'.
Use plain 'make -j$(nproc)' so the Makefile uses its own CFLAGS.
Also remove --without-nping --without-ncat which were not in the
original working configure command (belt-and-suspenders).
Made-with: Cursor1 parent 375621d commit 5d970ad
1 file changed
+7
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
47 | 49 | | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | | - | |
| 55 | + | |
| 56 | + | |
60 | 57 | | |
61 | | - | |
62 | 58 | | |
63 | 59 | | |
64 | 60 | | |
| |||
0 commit comments