Re: [PATCH 1/2] multipath-tools: fix compilation with gcc < 4.9 on dash shell

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2018-07-30 at 16:37 -0300, Mauricio Faria de Oliveira wrote:
+AD4- diff --git a/Makefile.inc b/Makefile.inc
+AD4- index af2f5bae09d3..a12b46ef315e 100644
+AD4- --- a/Makefile.inc
+AD4- +-+-+- b/Makefile.inc
+AD4- +AEAAQA- -78,7 +-78,7 +AEAAQA- INSTALL+AF8-PROGRAM	+AD0- install
+AD4-  +ACM- Test if the C compiler supports the option.
+AD4-  +ACM- Evaluates to +ACI-option+ACI- if yes, and +ACI-fallback+ACI- otherwise.
+AD4-  TEST+AF8-CC+AF8-OPTION +AD0- +ACQ-(shell +AFw-
+AD4- -	if echo 'int main(void)+AHs-return 0+ADsAfQ-' +AHw- +ACQ-(CC) -o /dev/null -c +ACIAJA-(1)+ACI- -xc - +ACYAPg-/dev/null+ADs- +AFw-
+AD4- +-	if echo 'int main(void)+AHs-return 0+ADsAfQ-' +AHw- +ACQ-(CC) -o /dev/null -c +ACIAJA-(1)+ACI- -xc - +AD4-/dev/null 2+AD4AJg-1+ADs- +AFw-
+AD4-  	then +AFw-
+AD4-  		echo +ACIAJA-(1)+ACIAOw- +AFw-
+AD4-  	else +AFw-

Reviewed-by: Bart Van Assche +ADw-bart.vanassche+AEA-wdc.com+AD4-



--
dm-devel mailing list
dm-devel@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/dm-devel

[Index of Archives]     [DM Crypt]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Packaging]     [Fedora SELinux]     [Yosemite Discussion]     [KDE Users]     [Fedora Docs]

  Powered by Linux