Fix Werrors with GCC-14.1.0 20/311320/1 sandbox/dkson95/gcc-14
authorDongkyun Son <dongkyun.s@samsung.com>
Fri, 17 May 2024 11:26:41 +0000 (20:26 +0900)
committerDongkyun Son <dongkyun.s@samsung.com>
Fri, 17 May 2024 11:26:41 +0000 (20:26 +0900)
-Wimplicit-function-declaration

Change-Id: Ic8adcbf65983b74f143e02e65a03fe52beeb7052
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/grep.spec

index da80c40874249a298273068e5c3cb6a63037f0b1..5ef3acdfeb9b55a8fe7b10d3e2d317413631a597 100644 (file)
@@ -29,7 +29,7 @@ the matching lines.
 cp %{SOURCE1001} .
 
 %build
-CFLAGS+=" -fPIE"
+CFLAGS+=" -fPIE -Wno-error=implicit-function-declaration"
 LDFLAGS+=" -pie"
 
 %configure  --disable-silent-rules \