diff --git a/cad/alliance/Makefile b/cad/alliance/Makefile index c6f8ae181c25..f32bc7b891f1 100644 --- a/cad/alliance/Makefile +++ b/cad/alliance/Makefile @@ -36,7 +36,8 @@ USE_LDCONFIG= ${ALLIANCE_TOP}/lib MAKE_JOBS_UNSAFE= yes INSTALL_TARGET= install-strip -CFLAGS+= -fcommon +CFLAGS+= -fcommon \ + -fpermissive CONFLICTS_INSTALL= ocp publib diff --git a/cad/alliance/files/patch-scr_src_Makefile.am b/cad/alliance/files/patch-scr_src_Makefile.am new file mode 100644 index 000000000000..c620e4747b45 --- /dev/null +++ b/cad/alliance/files/patch-scr_src_Makefile.am @@ -0,0 +1,11 @@ +--- scr/src/Makefile.am.orig 2024-09-05 09:01:44 UTC ++++ scr/src/Makefile.am +@@ -3,7 +3,7 @@ AM_YFLAGS = -d + AM_YFLAGS = -d + + #CFLAGS = -g -pg -O2 +-CFLAGS = -g -O2 ++CFLAGS = -g -O2 -fpermissive + #CFLAGS = -O2 + AM_CFLAGS = @ALLIANCE_CFLAGS@ \ + -I$(top_srcdir)/mbk/src \