* STOXX 600 up 0.1 pct, flat on the week
* Oil stocks post two-week gain of 5 pct
* Gold miners helped by flight to safety
* Real estate stocks up, banks down (Adds details, closing prices)
By Danilo Masoni
MILAN, April 7 (Reuters) - European shares inched up on Friday, reversing earlier weakness as oil stocks climbed after a U.S. cruise missile strike in Syria sent crude prices near to one-month highs.
The pan-European STOXX 600 index .STOXX ended up 0.1 percent, also supported by precious metal miners which benefited from a rise in prices of gold, which is seen as a safe-haven asset. On the week the STOXX 600 was flat.
Oil stocks .SXEP provided the biggest boost to the STOXX with their sectoral index surging to its highest level in 10 weeks with majors BP BP.L , Total TOTF.PA , and Royal Dutch Shell (LON:RDSa) RDSa.AS all up around 1 percent.
After a sluggish start to the year energy stocks have seen a return of interest, with investors betting that producing countries will agree output cuts and a pick-up in merger and acquisition activity in the sector further lifting the mood.
On Friday, analysts at Deutsche Bank (DE:DBKGn) were latest to turn positive on the European energy sector, upgrading it to a "tactical overweight". oil index has gained 5 percent over the last two weeks, scoring its best two-week gains since mid-December.
Precious metals miners were among the top gainers on Friday as investors fled to low-risk assets such as gold, which hit a five-month high amid rising global security tensions. in Randgold Resources RRS.L rose 4.3 percent, the second biggest gainer on the STOXX after oil firm Tullow Oil TLW.L , while silver and gold miner Fresnillo FRES.L added 1.8 percent.
Defence firm BAE Systems BAES.L added 2.4 percent, in line with U.S. peers Lockheed Martin (NYSE:LMT) LMT.N and Raytheon RTN.N , which makes the Tomahawk cruise missiles used in the strike. shares touched the day's lows after disappointing U.S. non-farm payrolls data. But traders said the figures had not changed expectations surrounding monetary policy in the world's largest economy. overall trend remains one of very strong job creation. This alone won't stop the Fed from hiking twice more this year. A war in Syria might -- geopolitics has taken on much greater significance again," said ETX Capital analyst Neil Wilson.
Elsewhere price action was dictated by broker moves.
British online grocer Ocado OCDO.L fell 5.4 percent after UBS cut its rating on the stock to 'sell' from 'buy', while upgrades from RBC boosted merging fund managers Standard Life SL.L and Aberdeen Asset Management ADN.L .
Real estate stocks .SX86P surged to fresh six-month highs, supported for a second day by expectations that the European Central Bank will remain cautious on any tightening measure following recent lower-than-expected inflation data. estate stock benefit from low interest rates, which make their yields more attractive. Banks .SX7P , which instead see bigger lending margins when interest rates rise, fell 0.2 percent on Friday.