Skip to content

Commit 3a0ff22

Browse files
authored
Merge pull request #18865 from FRRouting/mergify/bp/stable/10.3/pr-18864
redhat: Add Workaround for inet_ntop replacement which breaks rpms (backport #18864)
2 parents af5b215 + 8cfaf30 commit 3a0ff22

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

redhat/frr.spec.in

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,8 +338,11 @@ Adds GRPC support to the individual FRR daemons.
338338

339339
%build
340340

341+
# Fix issue with D_FORTIFY_SOURCE on newer glibc (See Issue #18575)
342+
CFLAGS="%{optflags} -DINET_NTOP_NO_OVERRIDE"
343+
341344
# For standard gcc verbosity, uncomment these lines:
342-
#CFLAGS="%{optflags} -Wall -Wsign-compare -Wpointer-arith"
345+
#CFLAGS="%{CFLAGS} -Wall -Wsign-compare -Wpointer-arith"
343346
#CFLAGS="${CFLAGS} -Wbad-function-cast -Wwrite-strings"
344347

345348
# For ultra gcc verbosity, uncomment these lines also:

0 commit comments

Comments
 (0)